From db53770a3eaf37ae732888ba999c223ebb721348 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 18 Jul 2018 14:42:18 +0900 Subject: [PATCH] dsa: rtl8366: Remove unused variable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit drivers/net/dsa/rtl8366.c: In function ‘rtl8366_reset_vlan’: drivers/net/dsa/rtl8366.c:234:25: warning: unused variable ‘vlan4k’ [-Wunused-variable] Signed-off-by: David S. Miller --- drivers/net/dsa/rtl8366.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/rtl8366.c b/drivers/net/dsa/rtl8366.c index 58d8534f7ecb..6dedd43442cc 100644 --- a/drivers/net/dsa/rtl8366.c +++ b/drivers/net/dsa/rtl8366.c @@ -231,7 +231,6 @@ EXPORT_SYMBOL_GPL(rtl8366_enable_vlan); int rtl8366_reset_vlan(struct realtek_smi *smi) { struct rtl8366_vlan_mc vlanmc; - struct rtl8366_vlan_4k vlan4k; int ret; int i; -- 2.30.2