[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190705.152808.1175306947779966525.davem@davemloft.net>
Date: Fri, 05 Jul 2019 15:28:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: jaswinder.singh@...aro.org, ast@...nel.org,
ilias.apalodimas@...aro.org, daniel@...earbox.net,
jakub.kicinski@...ronome.com, hawk@...nel.org,
netdev@...r.kernel.org, xdp-newbies@...r.kernel.org,
bpf@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v3 net-next] net: socionext: remove set but not used
variable 'pkts'
From: YueHaibing <yuehaibing@...wei.com>
Date: Thu, 4 Jul 2019 03:37:45 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/socionext/netsec.c: In function 'netsec_clean_tx_dring':
> drivers/net/ethernet/socionext/netsec.c:637:15: warning:
> variable 'pkts' set but not used [-Wunused-but-set-variable]
>
> It is not used since commit ba2b232108d3 ("net: netsec: add XDP support")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> Acked-by: Ilias Apalodimas <ilias.apalodimas@...aro.org>
Applied to net-next.
Powered by blists - more mailing lists