From: Russell King - ARM Linux Subject: Re: [PATCH] PCI: remove pcibios_scan_all_fns() Date: Mon, 22 Jun 2009 16:29:19 +0100 Message-ID: <20090622152919.GA29188@n2100.arm.linux.org.uk> References: <20090622140807.25509.54448.stgit@bob.kio> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:38863 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751514AbZFVP3q (ORCPT ); Mon, 22 Jun 2009 11:29:46 -0400 Content-Disposition: inline In-Reply-To: <20090622140807.25509.54448.stgit@bob.kio> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Alex Chiang Cc: jbarnes@virtuousgeek.org, linux-arch@vger.kernel.org, Kyle McMartin , Tony Luck , Arnd Bergmann , Yoshinori Sato , Benjamin Herrenschmidt , Jeff Dike , linux-kernel@vger.kernel.org, Ralf Baechle , David Howells , Paul Mundt , Ivan Kokshaysky , Ingo Molnar , "David S. Miller" On Mon, Jun 22, 2009 at 08:08:07AM -0600, Alex Chiang wrote: > This was #define'd as 0 on all platforms, so let's get rid of it. > > This change makes pci_scan_slot() slightly easier to read. > > Cc: Ivan Kokshaysky > Cc: Russell King Acked-by: Russell King For: > diff --git a/arch/arm/include/asm/pci.h b/arch/arm/include/asm/pci.h > index 0abf386..226cddd 100644 > --- a/arch/arm/include/asm/pci.h > +++ b/arch/arm/include/asm/pci.h > @@ -6,8 +6,6 @@ > > #include /* for PCIBIOS_MIN_* */ > > -#define pcibios_scan_all_fns(a, b) 0 > - > #ifdef CONFIG_PCI_HOST_ITE8152 > /* ITE bridge requires setting latency timer to avoid early bus access > termination by PIC bus mater devices Thanks.