From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 90147A00E6 for ; Fri, 12 Jul 2019 10:31:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE3F31B9AA; Fri, 12 Jul 2019 10:31:45 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DEB621B9A7 for ; Fri, 12 Jul 2019 10:31:43 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2019 01:31:42 -0700 X-IronPort-AV: E=Sophos;i="5.63,481,1557212400"; d="scan'208";a="160329114" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.51]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2019 01:31:41 -0700 Date: Fri, 12 Jul 2019 09:31:38 +0100 From: Bruce Richardson To: Stephen Hemminger Cc: dev@dpdk.org Message-ID: <20190712083137.GA528@bricha3-MOBL.ger.corp.intel.com> References: <20190711200309.6134-1-stephen@networkplumber.org> <20190711200309.6134-7-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190711200309.6134-7-stephen@networkplumber.org> User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [PATCH 6/9] net/ring: remove redundant rte_vdev_drive declaration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jul 11, 2019 at 01:03:06PM -0700, Stephen Hemminger wrote: > The rte_vdev_driver is declared twice. > The first one is not necessary. > > Signed-off-by: Stephen Hemminger > --- > 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[], > -- Acked-by: Bruce Richardson