summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-07-18 14:42:18 +0900
committerDavid S. Miller <davem@davemloft.net>2018-07-18 14:42:18 +0900
commitdb53770a3eaf37ae732888ba999c223ebb721348 (patch)
tree33d7aff90d68723135d4f2d0f3519baf5ffc29a0 /drivers/net/dsa
parentabd709c7ee2a9d4541a47594605cf2d3d89272f3 (diff)
downloadlinux-db53770a3eaf37ae732888ba999c223ebb721348.tar.bz2
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 <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r--drivers/net/dsa/rtl8366.c1
1 files changed, 0 insertions, 1 deletions
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;