realtek: remove currently unused VLAN profile_id 1
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run

So far we are only associating and using a VLAN profile ID of 0 to any
VLAN ID, VLAN profile ID 1 is unused. Therefore we can safely remove its
initialization, just like we don't initialize any of VLAN profile IDs
2 to 7 on rtl83xx/rtl930x or 2 to 15 on rtl931x.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Link: https://github.com/openwrt/openwrt/pull/21872
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Linus Lüssing 2026-01-28 01:52:15 +01:00 committed by Robert Marko
parent a0e11f61a9
commit d527fc3c1c

View file

@ -463,7 +463,6 @@ static void rtldsa_vlan_setup(struct rtl838x_switch_priv *priv)
pr_info("In %s\n", __func__);
priv->r->vlan_profile_setup(0);
priv->r->vlan_profile_setup(1);
priv->r->vlan_profile_dump(priv, 0);
info.fid = 0; /* Default Forwarding ID / MSTI */