From: Stephen Hemminger <stephen@networkplumber.org>
Date: Mon, 21 May 2018 16:41:50 +0000 (-0700)
Subject: bus/pci: remove unused unbind function prototype
X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5417dfc984cd40114ac86a4b416ab20df0305392;p=dpdk.git

bus/pci: remove unused unbind function prototype

Prototype for pci_unbind_kernel_driver exists but no code.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
---

diff --git a/drivers/bus/pci/private.h b/drivers/bus/pci/private.h
index 02e2fb4436..680879ed35 100644
--- a/drivers/bus/pci/private.h
+++ b/drivers/bus/pci/private.h
@@ -106,16 +106,6 @@ void rte_pci_insert_device(struct rte_pci_device *exist_pci_dev,
  */
 int pci_update_device(const struct rte_pci_addr *addr);
 
-/**
- * Unbind kernel driver for this device
- *
- * This function is private to EAL.
- *
- * @return
- *   0 on success, negative on error
- */
-int pci_unbind_kernel_driver(struct rte_pci_device *dev);
-
 /**
  * Map the PCI resource of a PCI device in virtual memory
  *