linux/drivers/net/team
Zhengchao Shao de3ecc4fd8 team: change the init function in the team_option structure to void
Because the init function in the team_option structure always returns 0,
so change the init function to void and remove redundant code.

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20230807012556.3146071-4-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-08-08 15:04:04 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
team_mode_activebackup.c team: change the init function in the team_option structure to void 2023-08-08 15:04:04 -07:00
team_mode_broadcast.c team: remove unreferenced header in broadcast and roundrobin files 2023-08-08 15:04:04 -07:00
team_mode_loadbalance.c team: change the init function in the team_option structure to void 2023-08-08 15:04:04 -07:00
team_mode_random.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
team_mode_roundrobin.c team: remove unreferenced header in broadcast and roundrobin files 2023-08-08 15:04:04 -07:00
team.c team: change the init function in the team_option structure to void 2023-08-08 15:04:04 -07:00