On Mon, Aug 07, 2023 at 09:25:51AM +0800, Zhengchao Shao wrote: > Do some cleanups in team driver. > Reviewed-by: Hangbin Liu <liuhangbin@xxxxxxxxx> > --- > v3: add header file back to team_mode_activebackup.c > v2: combine patch 5/6 and patch 6/6 into patch 5/5 > --- > Zhengchao Shao (5): > team: add __exit modifier to team_nl_fini() > team: remove unreferenced header in broadcast and roundrobin files > team: change the init function in the team_option structure to void > team: change the getter function in the team_option structure to void > team: remove unused input parameters in lb_htpm_select_tx_port and > lb_hash_select_tx_port > > drivers/net/team/team.c | 62 +++++++++-------------- > drivers/net/team/team_mode_activebackup.c | 8 ++- > drivers/net/team/team_mode_broadcast.c | 1 - > drivers/net/team/team_mode_loadbalance.c | 50 +++++++----------- > drivers/net/team/team_mode_roundrobin.c | 1 - > include/linux/if_team.h | 4 +- > 6 files changed, 48 insertions(+), 78 deletions(-) > > -- > 2.34.1 >