From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <rami.rosen@intel.com>
Received: from mga05.intel.com (mga05.intel.com [192.55.52.43])
 by dpdk.org (Postfix) with ESMTP id 18974F72;
 Wed, 25 Jul 2018 10:32:21 +0200 (CEST)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga006.jf.intel.com ([10.7.209.51])
 by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 25 Jul 2018 01:32:20 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.51,400,1526367600"; d="scan'208";a="60508056"
Received: from imail001.iil.intel.com ([10.184.207.12])
 by orsmga006.jf.intel.com with ESMTP; 25 Jul 2018 01:32:19 -0700
Received: from rubyhost.iil.intel.com (rubyhost.iil.intel.com [143.185.141.89])
 by imail001.iil.intel.com with ESMTP id w6P8WFZ1013281;
 Wed, 25 Jul 2018 11:32:15 +0300
From: Rami Rosen <rami.rosen@intel.com>
To: dev@dpdk.org
Cc: ferruh.yigit@intel.com, stable@dpdk.org, Rami Rosen <rami.rosen@intel.com>
Date: Wed, 25 Jul 2018 11:30:04 +0300
Message-Id: <1532507404-19279-1-git-send-email-rami.rosen@intel.com>
X-Mailer: git-send-email 1.9.1
Subject: [dpdk-stable] [PATCH] ethdev: remove unused forward declaration.
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2018 08:32:22 -0000

The forward declaraion of rte_pci_device in rte_ethdev.h
is not needed anymore.
Fixes: cd8c7c7ce241 ("replace bus specific struct with generic dev")

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 lib/librte_ethdev/rte_ethdev.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index f5f593b..b146dc6 100644
--- a/lib/librte_ethdev/rte_ethdev.h
+++ b/lib/librte_ethdev/rte_ethdev.h
@@ -964,8 +964,6 @@ struct rte_eth_conf {
  * mentioned in rte_tx_offload_names in rte_ethdev.c file.
  */
 
-struct rte_pci_device;
-
 /*
  * Fallback default preferred Rx/Tx port parameters.
  * These are used if an application requests default parameters
-- 
1.9.1