From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Ga=EBtan?= Rivet Subject: Re: [PATCH 2/2] pci: remove unused function prototype Date: Tue, 22 May 2018 11:00:40 +0200 Message-ID: <20180522090040.evaius7kwinxzcnp@bidouze.vm.6wind.com> References: <20180521164150.24252-1-stephen@networkplumber.org> <20180521164150.24252-3-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Stephen Hemminger Return-path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 99E7528F3 for ; Tue, 22 May 2018 11:00:56 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id v60-v6so18701886wrc.7 for ; Tue, 22 May 2018 02:00:56 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180521164150.24252-3-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" On Mon, May 21, 2018 at 09:41:50AM -0700, Stephen Hemminger wrote: > Prototype for pci_unbind_kernel_driver exists but no code. > > Signed-off-by: Stephen Hemminger Acked-by: Gaetan Rivet > --- > 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 > -- Gaëtan Rivet 6WIND