net/af_packet: remove unused Rx counter
authorDavid Marchand <david.marchand@redhat.com>
Fri, 26 Jul 2019 10:21:20 +0000 (12:21 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Jul 2019 13:27:05 +0000 (15:27 +0200)
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 <david.marchand@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/af_packet/rte_eth_af_packet.c

index 2f6508f..82bf2cd 100644 (file)
@@ -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;
 };