realtek: dsa: Drop LAG checks already handled by DSA handlers
authorSven Eckelmann <[email protected]>
Sun, 9 Nov 2025 08:32:03 +0000 (09:32 +0100)
committerHauke Mehrtens <[email protected]>
Tue, 11 Nov 2025 00:06:49 +0000 (01:06 +0100)
commit14095ab268dd9a29006a100116822e398244d389
tree9bf85b45c27a791acd179e8eef0b83ad25827b81
parente9bb1debb7f6e57b7c70480afc62c562b00a0cbf
realtek: dsa: Drop LAG checks already handled by DSA handlers

There is no need to check conditions in rtl83xx_lag_add()/rtl83xx_lag_del()
when they are already checked in
rtl83xx_port_lag_join()/rtl83xx_port_lag_leave().

Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20707
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c