]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bnx2x: Remove set but not used variable 'mfw_vn'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 18 Feb 2019 12:19:54 +0000 (12:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2019 00:47:32 +0000 (16:47 -0800)
commitc9b747dbc2036c917b1067fbb78dc38b105c4454
tree9eb8aeb86da7d3de32072c22f3173baa9ab47fca
parent778a57d93e28b10efc0fc086b20dacedcc503f48
bnx2x: Remove set but not used variable 'mfw_vn'

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

drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c: In function 'bnx2x_get_hwinfo':
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:11940:10: warning:
 variable 'mfw_vn' set but not used [-Wunused-but-set-variable]

It's never used since introduction.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c