[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191029.164418.1957595418522916270.davem@davemloft.net>
Date: Tue, 29 Oct 2019 16:44:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: snelson@...sando.io, drivers@...sando.io, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] ionic: Remove set but not used variable
'sg_desc'
From: YueHaibing <yuehaibing@...wei.com>
Date: Mon, 28 Oct 2019 12:01:21 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/pensando/ionic/ionic_txrx.c: In function 'ionic_rx_empty':
> drivers/net/ethernet/pensando/ionic/ionic_txrx.c:405:28: warning:
> variable 'sg_desc' set but not used [-Wunused-but-set-variable]
>
> It is never used, so can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists