From: YueHaibing <yuehaibing@xxxxxxxxxx> 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@xxxxxxxxxx> > Acked-by: Ilias Apalodimas <ilias.apalodimas@xxxxxxxxxx> Applied to net-next.