DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 6/9] net/ring: remove redundant rte_vdev_drive declaration
Date: Thu, 11 Jul 2019 13:03:06 -0700	[thread overview]
Message-ID: <20190711200309.6134-7-stephen@networkplumber.org> (raw)
In-Reply-To: <20190711200309.6134-1-stephen@networkplumber.org>

The rte_vdev_driver is declared twice.
The first one is not necessary.

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

diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c
index 65c2813ba1bc..eb347bce61b7 100644
--- a/drivers/net/ring/rte_eth_ring.c
+++ b/drivers/net/ring/rte_eth_ring.c
@@ -248,8 +248,6 @@ static const struct eth_dev_ops ops = {
 	.mac_addr_add = eth_mac_addr_add,
 };
 
-static struct rte_vdev_driver pmd_ring_drv;
-
 static int
 do_eth_dev_ring_create(const char *name,
 		struct rte_ring * const rx_queues[],
-- 
2.20.1


  parent reply	other threads:[~2019-07-11 20:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11 20:03 [dpdk-dev] [PATCH 0/9] redundant rte_vdev_driver declarations Stephen Hemminger
2019-07-11 20:03 ` [dpdk-dev] [PATCH 1/9] net/tap: remove redundant declarations Stephen Hemminger
2019-07-11 21:29   ` Wiles, Keith
2019-07-11 20:03 ` [dpdk-dev] [PATCH 2/9] net/af_packet: remove redundant rte_vdev_driver declaration Stephen Hemminger
2019-07-11 20:03 ` [dpdk-dev] [PATCH 3/9] net/vhost: " Stephen Hemminger
2019-07-11 20:03 ` [dpdk-dev] [PATCH 4/9] net/null: " Stephen Hemminger
2019-07-11 20:03 ` [dpdk-dev] [PATCH 5/9] net/pcap: " Stephen Hemminger
2019-07-15 16:17   ` Ferruh Yigit
2019-07-11 20:03 ` Stephen Hemminger [this message]
2019-07-12  8:31   ` [dpdk-dev] [PATCH 6/9] net/ring: remove redundant rte_vdev_drive declaration Bruce Richardson
2019-07-11 20:03 ` [dpdk-dev] [PATCH 7/9] net/virtio_user: remove redundant rte_vdev_driver declaration Stephen Hemminger
2019-07-11 20:03 ` [dpdk-dev] [PATCH 8/9] raw/skeleton_rawdev: " Stephen Hemminger
2019-07-11 20:03 ` [dpdk-dev] [PATCH 9/9] raw/dpaa2_cmif: " Stephen Hemminger
2019-07-15 16:18 ` [dpdk-dev] [PATCH 0/9] redundant rte_vdev_driver declarations Ferruh Yigit
2019-07-15 17:09   ` Ferruh Yigit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190711200309.6134-7-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).