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 9/9] raw/dpaa2_cmif: remove redundant rte_vdev_driver declaration
Date: Thu, 11 Jul 2019 13:03:09 -0700	[thread overview]
Message-ID: <20190711200309.6134-10-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/raw/dpaa2_cmdif/dpaa2_cmdif.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
index 05960cca95ed..3f42da1fed61 100644
--- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
+++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
@@ -26,9 +26,6 @@ int dpaa2_cmdif_logtype;
 /* CMDIF driver name */
 #define DPAA2_CMDIF_PMD_NAME dpaa2_dpci
 
-/* CMDIF driver object */
-static struct rte_vdev_driver dpaa2_cmdif_drv;
-
 /*
  * This API provides the DPCI device ID in 'attr_value'.
  * The device ID shall be passed by GPP to the AIOP using CMDIF commands.
-- 
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 ` [dpdk-dev] [PATCH 6/9] net/ring: remove redundant rte_vdev_drive declaration Stephen Hemminger
2019-07-12  8:31   ` 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 ` Stephen Hemminger [this message]
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-10-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).