OpenCloudOS-Kernel/drivers/net/ethernet/socionext
YueHaibing cfe261c24e net: socionext: remove set but not used variable 'pkts'
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 ba2b232108 ("net: netsec: add XDP support")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-05 15:26:47 -07:00
..
Kconfig net: netsec: Use page_pool API 2019-07-01 19:27:08 -07:00
Makefile
netsec.c net: socionext: remove set but not used variable 'pkts' 2019-07-05 15:26:47 -07:00
sni_ave.c net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00