[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181124.173740.1123522176489874677.davem@davemloft.net>
Date: Sat, 24 Nov 2018 17:37:40 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: ganeshgr@...lsio.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] cxgb4: remove set but not used variables
'multitrc, speed'
From: YueHaibing <yuehaibing@...wei.com>
Date: Sat, 24 Nov 2018 18:36:21 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:5883:6:
> warning: variable 'multitrc' set but not used [-Wunused-but-set-variable]
>
> drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:8585:32:
> warning: variable 'speed' set but not used [-Wunused-but-set-variable]
>
> 'multitrc' never used since introduction in
> commit 8e3d04fd7d70 ("cxgb4: Add MPS tracing support")
>
> 'speed' never used since introduction in
> commit c3168cabe1af ("cxgb4/cxgbvf: Handle 32-bit fw port capabilities")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists