diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-07 21:08:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-08 22:29:02 -0700 |
commit | e3e3af9aa29a2ada43d5c27b47ea320415cd5bb3 (patch) | |
tree | dbb50cdb6759f7aa9c68c61b41647e093f7e11d8 /net/sched | |
parent | d595b03de2cb0bdf9bcdf35ff27840cc3a37158f (diff) | |
download | linux-stable-e3e3af9aa29a2ada43d5c27b47ea320415cd5bb3.tar.gz linux-stable-e3e3af9aa29a2ada43d5c27b47ea320415cd5bb3.tar.bz2 linux-stable-e3e3af9aa29a2ada43d5c27b47ea320415cd5bb3.zip |
net: dsa: sja1105: remove set but not used variables 'tx_vid' and 'rx_vid'
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 <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions