diff options
author | Jan Hoffmann <jan@3e8.eu> | 2023-05-07 01:05:35 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2023-05-07 19:16:07 +0200 |
commit | a872570c043f5beee21c3af695f1a5a77f7eab04 (patch) | |
tree | 33ea47ec36359dac098c58c2f71e1c2808d2d4e1 /target/toolchain | |
parent | 98a3b52380b7c2632c60c54d86d5c562f5eabfe4 (diff) | |
download | upstream-a872570c043f5beee21c3af695f1a5a77f7eab04.tar.gz upstream-a872570c043f5beee21c3af695f1a5a77f7eab04.tar.bz2 upstream-a872570c043f5beee21c3af695f1a5a77f7eab04.zip |
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: cde31976e375 ("realtek: Add support for Layer 2 Multicast")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'target/toolchain')
0 files changed, 0 insertions, 0 deletions