Re: [PATCH net-next] e1000: remove set but not used variable 'txb2b'

From: David Miller
Date: Thu Sep 20 2018 - 02:09:48 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Thu, 20 Sep 2018 02:04:38 +0000

> 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@xxxxxxxxxx>

Applied, thanks.