From d527fc3c1cf5eb403ea4e8f334fdfe0a0d143ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20L=C3=BCssing?= Date: Wed, 28 Jan 2026 01:52:15 +0100 Subject: [PATCH] realtek: remove currently unused VLAN profile_id 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Link: https://github.com/openwrt/openwrt/pull/21872 Signed-off-by: Robert Marko --- target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c index fd2710f039..e04ee062ee 100644 --- a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c +++ b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c @@ -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 */