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: cde31976e375 ("realtek: Add support for Layer 2 Multicast")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-05-07 19:16:07 +02:00
..
2023-04-22 01:15:03 +02:00
2023-04-22 01:15:03 +02:00
2023-05-06 20:59:46 +02:00
2023-04-30 00:01:12 +02:00
2023-04-30 00:02:47 +02:00
2023-04-22 01:10:24 +02:00
2023-01-30 11:13:14 +01:00
2023-03-18 12:52:17 +01:00
2023-05-03 14:49:44 +02:00
2023-03-20 22:44:28 +01:00
2023-01-30 18:01:14 +08:00