From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 957C8FEB for ; Tue, 7 Aug 2018 21:11:31 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2018 12:11:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,456,1526367600"; d="scan'208";a="79737555" Received: from imail001.iil.intel.com ([10.184.207.12]) by orsmga001.jf.intel.com with ESMTP; 07 Aug 2018 12:11:28 -0700 Received: from rubyhost.iil.intel.com (rubyhost.iil.intel.com [143.185.141.89]) by imail001.iil.intel.com with ESMTP id w77JB8VE020929; Tue, 7 Aug 2018 22:11:08 +0300 From: Rami Rosen To: dev@dpdk.org Cc: Rami Rosen Date: Tue, 7 Aug 2018 22:09:14 +0300 Message-Id: <1533668954-1383-1-git-send-email-rami.rosen@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] bus/pci: remove rte_pci_remove_device() 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: , X-List-Received-Date: Tue, 07 Aug 2018 19:11:32 -0000 This patch removes the forward declaration of rte_pci_remove_device() method. In the past, this forward decalaration was needed for rte_pci_detach(), which is now removed from pci_common.c. Fixes: e690338a7b85 ("bus/pci: remove unused function to detach by address") Signed-off-by: Rami Rosen --- drivers/bus/pci/pci_common.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/bus/pci/pci_common.c b/drivers/bus/pci/pci_common.c index b3879a9..7736b3f 100644 --- a/drivers/bus/pci/pci_common.c +++ b/drivers/bus/pci/pci_common.c @@ -27,8 +27,6 @@ #include "private.h" -static void rte_pci_remove_device(struct rte_pci_device *pci_device); - extern struct rte_pci_bus rte_pci_bus; #define SYSFS_PCI_DEVICES "/sys/bus/pci/devices" -- 1.9.1