openwrt/target/linux/realtek/files-5.10/drivers
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
..
clk/realtek realtek: fix PLL register inconsistencies 2022-08-31 23:25:39 +02:00
clocksource realtek: timer: Register enabled scheduler clock 2023-01-28 15:23:03 +01:00
gpio realtek: separate lock of RTL8231 from phy driver 2022-10-08 11:05:02 +02:00
i2c realtek: Add support for RTL9300/RTL9310 I2C multiplexing 2022-02-17 15:21:46 +00:00
net realtek: remove redundant is_lagmember checks 2023-05-07 19:16:07 +02:00