]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: remove set but not used variable 'txb2b'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 20 Sep 2018 02:04:38 +0000 (02:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 06:09:23 +0000 (23:09 -0700)
commitf32ea096b3b0323587ab4917660c9c97861cd9cd
tree4917e8b8624319fa995d2f97beb2936cf019a571
parentd974b02b643e0d5acefddccf1c8881cb587d1603
e1000: remove set but not used variable 'txb2b'

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

drivers/net/ethernet/intel/e1000/e1000_main.c: In function 'e1000_watchdog':
drivers/net/ethernet/intel/e1000/e1000_main.c:2436:9: warning:
 variable 'txb2b' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000/e1000_main.c