DPDK patches and discussions
 help / color / mirror / Atom feed
From: Rami Rosen <rami.rosen@intel.com>
To: dev@dpdk.org
Cc: ferruh.yigit@intel.com, jblunck@infradead.org,
	Rami Rosen <rami.rosen@intel.com>
Subject: [dpdk-dev] [PATCH] net/kni: remove eth_kni_drv declaration
Date: Sat,  4 Nov 2017 14:03:49 +0200	[thread overview]
Message-ID: <1509797029-9618-1-git-send-email-rami.rosen@intel.com> (raw)

This patch removes the forward declaration of eth_kni_drv
in rte_eth_kni.c; this forward declaration was made unnecessary
by commit 050fe6e9ff970ff92d842912136be8f9f52e171f 
("drivers/net: use ethdev allocation helper for vdev"), which 
removes the usage of eth_kni_drv in the eth_kni_create() method.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 drivers/net/kni/rte_eth_kni.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/kni/rte_eth_kni.c b/drivers/net/kni/rte_eth_kni.c
index d68ff7a..e31b909 100644
--- a/drivers/net/kni/rte_eth_kni.c
+++ b/drivers/net/kni/rte_eth_kni.c
@@ -358,8 +358,6 @@ struct pmd_internals {
 	.stats_reset = eth_kni_stats_reset,
 };
 
-static struct rte_vdev_driver eth_kni_drv;
-
 static struct rte_eth_dev *
 eth_kni_create(struct rte_vdev_device *vdev,
 		struct eth_kni_args *args,
-- 
1.9.1

             reply	other threads:[~2017-11-04 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-04 12:03 Rami Rosen [this message]
2017-11-06 19:02 ` Ferruh Yigit
2017-11-07  8:39   ` 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=1509797029-9618-1-git-send-email-rami.rosen@intel.com \
    --to=rami.rosen@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=jblunck@infradead.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).