realtek: eth: simplify rtl8380_init_mac()
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 4 Jan 2026 19:42:13 +0000 (20:42 +0100)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 9 Jan 2026 19:03:04 +0000 (21:03 +0200)
commit7fb393fa7d3b3077d8a25fed8764d7d2ed8f7cef
treed75610ac6de0a848b7fc7d251f99e2055e67ed7b
parent28c7524e78e38f767d13d6eed78c594f7ab5d8f4
realtek: eth: simplify rtl8380_init_mac()

This function is now only called on RTL838x devices. Remove all
obsolete family checks.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21391
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c