From: YueHaibing <yuehaib...@huawei.com> Date: Wed, 7 Aug 2019 21:08:56 +0800
> Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/dsa/sja1105/sja1105_main.c: In function sja1105_fdb_dump: > drivers/net/dsa/sja1105/sja1105_main.c:1226:14: warning: > variable tx_vid set but not used [-Wunused-but-set-variable] > drivers/net/dsa/sja1105/sja1105_main.c:1226:6: warning: > variable rx_vid set but not used [-Wunused-but-set-variable] > > They are not used since commit 6d7c7d948a2e ("net: dsa: > sja1105: Fix broken learning with vlan_filtering disabled") > > Reported-by: Hulk Robot <hul...@huawei.com> > Signed-off-by: YueHaibing <yuehaib...@huawei.com> Applied to 'net'.