[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181128.111014.2015994796157227532.davem@davemloft.net>
Date: Wed, 28 Nov 2018 11:10:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: jdmason@...zu.us, natechancellor@...il.com, clabbe@...libre.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: neterion: vxge: remove set but not used
variables 'max_frags' and 'txdl_priv'
From: YueHaibing <yuehaibing@...wei.com>
Date: Wed, 28 Nov 2018 20:24:41 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1698:35:
> warning: variable 'txdl_priv' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1699:6:
> warning: variable 'max_frags' set but not used [-Wunused-but-set-variable]
>
> It never used since introduction in
> commit 113241321dcd ("Neterion: New driver: Traffic & alarm handler")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists