[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200103.123313.205020922142036843.davem@davemloft.net>
Date: Fri, 03 Jan 2020 12:33:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yukuai3@...wei.com
Cc: netanel@...zon.com, saeedb@...zon.com, zorik@...zon.com,
ast@...nel.org, daniel@...earbox.net, jakub.kicinski@...ronome.com,
hawk@...nel.org, john.fastabend@...il.com, sameehj@...zon.com,
akiyano@...zon.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
yi.zhang@...wei.com, zhengbin13@...wei.com
Subject: Re: [PATCH] net: ena: remove set but not used variable 'rx_ring'
From: yu kuai <yukuai3@...wei.com>
Date: Fri, 3 Jan 2020 20:07:01 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> 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]
>
> It is never used, and so can be removed.
>
> Signed-off-by: yu kuai <yukuai3@...wei.com>
Does not apply to net-next.
Powered by blists - more mailing lists