]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bnxt_en: remove set but not used variable 'rx_stats'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 31 Aug 2018 04:08:01 +0000 (04:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 00:45:48 +0000 (17:45 -0700)
commit181ab62311c62fdd8c450969d0b822e1b89de42a
treeb6ecd3367aead81669c147cf8fd3d71b21f340c3
parentd99b7d6bca9c7fc318346bb3c00c17c8840e241d
bnxt_en: remove set but not used variable 'rx_stats'

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

drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c: In function 'bnxt_vf_rep_rx':
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c:212:28: warning:
 variable 'rx_stats' set but not used [-Wunused-but-set-variable]
  struct bnxt_vf_rep_stats *rx_stats;

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c