octeontx2-af: Remove set but not used variable 'block'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 19 Oct 2018 12:51:28 +0000 (12:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2018 02:28:14 +0000 (19:28 -0700)
commit665fc901b59ba336bb084ec0a0606ad8fc7d673f
treee53b487c3690415f493fd605f6fddc97b1c3f218
parent627d39c397999668557f6268b48ec8a74b6d2b0b
octeontx2-af: Remove set but not used variable 'block'

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

drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c: In function 'rvu_npa_init':
drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c:446:20: warning:
 variable 'block' set but not used [-Wunused-but-set-variable]

It never used since introduction in
commit 7a37245ef23f ("octeontx2-af: NPA block admin queue init")

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