bus/pci: remove rte_pci_remove_device() declaration

Message ID 1533668954-1383-1-git-send-email-rami.rosen@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series bus/pci: remove rte_pci_remove_device() declaration |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Rami Rosen Aug. 7, 2018, 7:09 p.m. UTC
  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 <rami.rosen@intel.com>
---
 drivers/bus/pci/pci_common.c | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Thomas Monjalon Aug. 9, 2018, 3:42 p.m. UTC | #1
07/08/2018 21:09, Rami Rosen:
> 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 <rami.rosen@intel.com>

Applied, thanks
  

Patch

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"