From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [122.248.162.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 388AA1A0AD4 for ; Fri, 19 Sep 2014 20:18:21 +1000 (EST) Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 19 Sep 2014 15:48:12 +0530 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 8A5A9E0044 for ; Fri, 19 Sep 2014 15:50:43 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay01.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id s8JAHnv342991858 for ; Fri, 19 Sep 2014 15:47:49 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s8JAI5Dk009818 for ; Fri, 19 Sep 2014 15:48:06 +0530 Date: Fri, 19 Sep 2014 20:18:02 +1000 From: Gavin Shan To: Wei Yang Subject: Re: [PATCH] powerpc/pci: remove duplicate declaration of pci_bus_find_capability Message-ID: <20140919101802.GA7107@shangw> Reply-To: Gavin Shan References: <1411118722-6590-1-git-send-email-weiyang@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1411118722-6590-1-git-send-email-weiyang@linux.vnet.ibm.com> Cc: linuxppc-dev@lists.ozlabs.org, gwshan@linux.vnet.ibm.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Sep 19, 2014 at 05:25:22PM +0800, Wei Yang wrote: >pci_bus_find_capability() is decleared in pci.h, so it is not necessary to do >it again. > >This patch removes it. > >Signed-off-by: Wei Yang Reviewed-by: Gavin Shan Thanks, Gavin >--- > arch/powerpc/kernel/pci-common.c | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c >index b2814e2..9cfa069 100644 >--- a/arch/powerpc/kernel/pci-common.c >+++ b/arch/powerpc/kernel/pci-common.c >@@ -1561,7 +1561,6 @@ EARLY_PCI_OP(write, byte, u8) > EARLY_PCI_OP(write, word, u16) > EARLY_PCI_OP(write, dword, u32) > >-extern int pci_bus_find_capability (struct pci_bus *bus, unsigned int devfn, int cap); > int early_find_capability(struct pci_controller *hose, int bus, int devfn, > int cap) > { >-- >1.7.9.5 >