openwrt/target/linux/realtek/files-5.15/drivers/net/dsa/rtl83xx
Jan Hoffmann a872570c04 realtek: remove redundant is_lagmember checks
All callers of the rtl83xx_mc_group_* functions already do the same
check, so these aren't needed.

For rtl83xx_mc_group_alloc, this branch also incorrectly returned 0
instead of a negative value. If the branch wasn't effectively dead code
anyway, this could potentially have caused bugs, as 0 is a valid
multicast group entry index.

Fixes: cde31976e3 ("realtek: Add support for Layer 2 Multicast")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-05-07 19:16:07 +02:00
..
common.c realtek: fix memory leak in netevent handler 2023-02-13 12:14:16 +01:00
debugfs.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
dsa.c realtek: remove redundant is_lagmember checks 2023-05-07 19:16:07 +02:00
Kconfig realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
Makefile
qos.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
rtl83xx.h realtek: Whitespace and codestyle cleanup 2022-12-27 16:31:48 +01:00
rtl838x.c realtek: fix standalone ports in presence of static fdb entries 2023-05-07 19:07:34 +02:00
rtl838x.h realtek: remove store_mcgroups/load_mcgroups 2023-05-07 19:15:34 +02:00
rtl839x.c realtek: fix standalone ports in presence of static fdb entries 2023-05-07 19:07:34 +02:00
rtl930x.c realtek: dsa: support active-high LEDs 2023-01-24 21:55:44 +01:00
rtl931x.c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
tc.c realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00