openwrt/target/linux/realtek/files-5.10/drivers/net/ethernet
Sander Vanheule 039e5be4af realtek: remove RTL839x path in RTL838x multicast
The multicast setup function rtl838x_eth_set_multicast_list() checks if
the current SoC is a RTL839x family device. However, the function is
only included in the RTL838x ops table, so this path should never be
taken, making this dead code. rtl839x_eth_set_multicast_list() is
already present in the RTL839x ops table, so it should be safe to remove
this branch.

While touching the code, also re-sort the functions to match sorting
elsewhere, with rtl838x coming before rtl839x.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-10-23 22:33:08 +02:00
..
rtl838x_eth.c realtek: remove RTL839x path in RTL838x multicast 2022-10-23 22:33:08 +02:00
rtl838x_eth.h realtek: correct egress frame port verification 2022-07-17 10:06:51 +02:00