[2/9] net/af_packet: remove redundant rte_vdev_driver declaration
diff mbox series

Message ID 20190711200309.6134-3-stephen@networkplumber.org
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
  • redundant rte_vdev_driver declarations
Related show


Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Stephen Hemminger July 11, 2019, 8:03 p.m. UTC
The rte_vdev_driver is declared twice.
The first one is not necessary.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
 drivers/net/af_packet/rte_eth_af_packet.c | 2 --
 1 file changed, 2 deletions(-)

diff mbox series

diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c
index db1a751cef5b..d2faefd9d724 100644
--- a/drivers/net/af_packet/rte_eth_af_packet.c
+++ b/drivers/net/af_packet/rte_eth_af_packet.c
@@ -526,8 +526,6 @@  open_packet_iface(const char *key __rte_unused,
 	return 0;
-static struct rte_vdev_driver pmd_af_packet_drv;
 static int
 rte_pmd_init_internals(struct rte_vdev_device *dev,
                        const int sockfd,