From: David Marchand Date: Fri, 26 Jul 2019 10:21:20 +0000 (+0200) Subject: net/af_packet: remove unused Rx counter X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4b6f5d3dcdad6d42b529e4392ca88a161bf02966;p=dpdk.git net/af_packet: remove unused Rx counter This Rx counter has never been used. Fixes: 364e08f2bbc0 ("af_packet: add PMD for AF_PACKET-based virtual devices") Cc: stable@dpdk.org Signed-off-by: David Marchand Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c index 2f6508f68b..82bf2cd581 100644 --- a/drivers/net/af_packet/rte_eth_af_packet.c +++ b/drivers/net/af_packet/rte_eth_af_packet.c @@ -51,7 +51,6 @@ struct pkt_rx_queue { uint16_t in_port; volatile unsigned long rx_pkts; - volatile unsigned long err_pkts; volatile unsigned long rx_bytes; };