git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55cf94
)
net/pcap: remove redundant declaration
author
Stephen Hemminger
<stephen@networkplumber.org>
Thu, 11 Jul 2019 20:03:05 +0000
(13:03 -0700)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000
(14:31 +0200)
The rte_vdev_driver is declared twice.
The first one is not necessary.
Fixes:
050fe6e9ff97
("drivers/net: use ethdev allocation helper for vdev")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/pcap/rte_eth_pcap.c
patch
|
blob
|
history
diff --git
a/drivers/net/pcap/rte_eth_pcap.c
b/drivers/net/pcap/rte_eth_pcap.c
index
26e8518
..
7ff6dc3
100644
(file)
--- a/
drivers/net/pcap/rte_eth_pcap.c
+++ b/
drivers/net/pcap/rte_eth_pcap.c
@@
-1085,8
+1085,6
@@
get_infinite_rx_arg(const char *key __rte_unused,
return 0;
}
-static struct rte_vdev_driver pmd_pcap_drv;
-
static int
pmd_init_internals(struct rte_vdev_device *vdev,
const unsigned int nb_rx_queues,