[PATCH net-next 0/2] team: change return value of init and getter in the team_option structure to void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Because the init and getter function always returns 0, so change return
value of init and getter in the team_option structure to void and remove
redundant code.

Zhengchao Shao (2):
  team: change return value of init in the team_option structure to void
  team: change return value of getter in the team_option structure to
    void

 drivers/net/team/team.c                   | 60 +++++++++--------------
 drivers/net/team/team_mode_activebackup.c |  8 ++-
 drivers/net/team/team_mode_loadbalance.c  | 39 ++++++---------
 include/linux/if_team.h                   |  4 +-
 4 files changed, 44 insertions(+), 67 deletions(-)

-- 
2.34.1





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux