net: dsa: bcm_sf2: Remove set but not used variables 'v6_spec, v6_m_spec'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 15 Feb 2019 02:36:47 +0000 (02:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 23:31:47 +0000 (15:31 -0800)
commita0bc653b1d48671caa9d22a44ff98050f8efd3ea
treedfffeb404d5ebaaa6580039d17389fbca775b088
parent0496743b202ac0f2710ae243a493118ca5096c04
net: dsa: bcm_sf2: Remove set but not used variables 'v6_spec, v6_m_spec'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/dsa/bcm_sf2_cfp.c: In function 'bcm_sf2_cfp_ipv6_rule_set':
drivers/net/dsa/bcm_sf2_cfp.c:606:40: warning:
 variable 'v6_m_spec' set but not used [-Wunused-but-set-variable]
drivers/net/dsa/bcm_sf2_cfp.c:606:30: warning:
 variable 'v6_spec' set but not used [-Wunused-but-set-variable]

It not used any more after commit e4f7ef54cbd8 ("dsa: bcm_sf2: use flow_rule
infrastructure")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2_cfp.c