mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-07 14:28:50 +00:00
a872570c04
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:
|
||
---|---|---|
.. | ||
common.c | ||
debugfs.c | ||
dsa.c | ||
Kconfig | ||
Makefile | ||
qos.c | ||
rtl83xx.h | ||
rtl838x.c | ||
rtl838x.h | ||
rtl839x.c | ||
rtl930x.c | ||
rtl931x.c | ||
tc.c |