]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b7ee2aeb525b904fe115cd4138bf7cd24172502
treee53b487c3690415f493fd605f6fddc97b1c3f218
parentaf5ae627e0c6ef62b5486072c6cbb17c641d12c0
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 c8cdc8231344 ("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