[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191227.163252.604875420289998673.davem@davemloft.net>
Date: Fri, 27 Dec 2019 16:32:52 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: sameehj@...zon.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: ena: remove set but not used variable
'rx_ring'
From: YueHaibing <yuehaibing@...wei.com>
Date: Tue, 24 Dec 2019 20:51:28 +0800
> drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ena_xdp_xmit_buff:
> drivers/net/ethernet/amazon/ena/ena_netdev.c:316:19: warning:
> variable rx_ring set but not used [-Wunused-but-set-variable]
>
> commit 548c4940b9f1 ("net: ena: Implement XDP_TX action")
> left behind this unused variable.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists