From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 2/2] pci: remove unused function prototype Date: Mon, 21 May 2018 09:41:50 -0700 Message-ID: <20180521164150.24252-3-stephen@networkplumber.org> References: <20180521164150.24252-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org Return-path: Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by dpdk.org (Postfix) with ESMTP id A92041B1D1 for ; Mon, 21 May 2018 18:41:57 +0200 (CEST) Received: by mail-pl0-f67.google.com with SMTP id t12-v6so9118074plo.7 for ; Mon, 21 May 2018 09:41:57 -0700 (PDT) In-Reply-To: <20180521164150.24252-1-stephen@networkplumber.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Prototype for pci_unbind_kernel_driver exists but no code. Signed-off-by: Stephen Hemminger --- drivers/bus/pci/private.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/bus/pci/private.h b/drivers/bus/pci/private.h index 02e2fb44367f..680879ed35a2 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 * -- 2.17.0