]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: drop redundant mac_config() logic 21895/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 6 Feb 2026 12:30:05 +0000 (13:30 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Feb 2026 23:37:50 +0000 (00:37 +0100)
commit9d839e6a46e5f58e2e794f054ef0b17a6dad2666
tree6ec0e756ff64e9b3903e0cd736ba1c83858dfc3b
parenteda2d44ebd4f742e3c0cc8e41b7c5c81df80bd47
realtek: dsa: drop redundant mac_config() logic

RTL930x and RTL931x basically share the same logic for mac_config().
No need to duplicate that logic in two functions and to call one
from the other.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21895
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c