net: mvpp2: cls: Remove set but not used variable 'act'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 4 May 2019 04:04:05 +0000 (04:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 17:47:15 +0000 (10:47 -0700)
commitc424d224404e9d565202979de119b04a68d34dee
tree1d1c35eb33353f37d7e4a5c34aceae4416ad9d8a
parentaa2ecb7c8f9519c8734c5b6fa57570ed6197de5e
net: mvpp2: cls: Remove set but not used variable 'act'

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

drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c: In function 'mvpp2_cls_c2_build_match':
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c:1159:28: warning:
 variable 'act' set but not used [-Wunused-but-set-variable]

It is never used since introduction in
commit 90b509b39ac9 ("net: mvpp2: cls: Add Classification offload support")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c