DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/tap: remove redundant declarations
@ 2019-07-11 19:48 Stephen Hemminger
  2019-07-11 20:01 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2019-07-11 19:48 UTC (permalink / raw)
  To: keith.wiles; +Cc: dev, Stephen Hemminger

The rte_vdev_drivers are declared twice.
The first one is not necessary.

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

diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c
index 3841842f01f8..64bd049110e1 100644
--- a/drivers/net/tap/rte_eth_tap.c
+++ b/drivers/net/tap/rte_eth_tap.c
@@ -71,8 +71,6 @@
 #define TAP_IOV_DEFAULT_MAX 1024
 
 static int tap_devices_count;
-static struct rte_vdev_driver pmd_tap_drv;
-static struct rte_vdev_driver pmd_tun_drv;
 
 static const char *valid_arguments[] = {
 	ETH_TAP_IFACE_ARG,
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] net/tap: remove redundant declarations
  2019-07-11 19:48 [dpdk-dev] [PATCH] net/tap: remove redundant declarations Stephen Hemminger
@ 2019-07-11 20:01 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2019-07-11 20:01 UTC (permalink / raw)
  To: keith.wiles; +Cc: dev

On Thu, 11 Jul 2019 12:48:05 -0700
Stephen Hemminger <stephen@networkplumber.org> wrote:

> The rte_vdev_drivers are declared twice.
> The first one is not necessary.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Many drivers have same problem. Will send new series

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-11 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11 19:48 [dpdk-dev] [PATCH] net/tap: remove redundant declarations Stephen Hemminger
2019-07-11 20:01 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).