From: David S. Miller Date: Wed, 18 Jul 2018 05:42:18 +0000 (+0900) Subject: dsa: rtl8366: Remove unused variable. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=db53770a3eaf37ae732888ba999c223ebb721348;p=openwrt%2Fstaging%2Fblogic.git dsa: rtl8366: Remove unused variable. 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 --- 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;