mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-03 10:13:47 +01:00
realtek: remove currently unused VLAN profile_id 1
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
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:
parent
a0e11f61a9
commit
d527fc3c1c
1 changed files with 0 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue