netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] team: change return value of init and getter in the team_option structure to void
@ 2023-08-04 11:28 Zhengchao Shao
  2023-08-04 11:28 ` [PATCH net-next 1/2] team: change return value of init " Zhengchao Shao
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Zhengchao Shao @ 2023-08-04 11:28 UTC (permalink / raw)
  To: netdev, bpf, davem, edumazet, kuba, pabeni
  Cc: jiri, weiyongjun1, yuehaibing, shaozhengchao

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-04 12:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 11:28 [PATCH net-next 0/2] team: change return value of init and getter in the team_option structure to void Zhengchao Shao
2023-08-04 11:28 ` [PATCH net-next 1/2] team: change return value of init " Zhengchao Shao
2023-08-04 11:28 ` [PATCH net-next 2/2] team: change return value of getter " Zhengchao Shao
2023-08-04 11:44 ` [PATCH net-next 0/2] team: change return value of init and " Jiri Pirko
2023-08-04 12:06   ` shaozhengchao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).