From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bastet.se.axis.com (bastet.se.axis.com [195.60.68.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y7hG9531YzDqhg for ; Fri, 6 Oct 2017 18:33:53 +1100 (AEDT) Date: Fri, 6 Oct 2017 09:27:13 +0200 From: Jesper Nilsson To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, linux-mips@linux-mips.org, Rich Felker , linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Benjamin Herrenschmidt , David Howells , Max Filippov , Paul Mackerras , "H. Peter Anvin" , sparclinux@vger.kernel.org, Jesper Nilsson , linux-am33-list@redhat.com, Yoshinori Sato , Michael Ellerman , Helge Deller , x86@kernel.org, "James E.J. Bottomley" , Ingo Molnar , Matt Turner , Fenghua Yu , linux-xtensa@linux-xtensa.org, Mikael Starvik , Ivan Kokshaysky , Thomas Gleixner , Richard Henderson , Chris Zankel , Tony Luck , linux-cris-kernel@axis.com, linux-parisc@vger.kernel.org, Ralf Baechle , linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, "David S. Miller" Subject: Re: [PATCH 2/4] PCI: Remove redundant pci_dev, pci_bus, resource declarations Message-ID: <20171006072713.GP17578@axis.com> References: <20171005201939.18300.25690.stgit@bhelgaas-glaptop.roam.corp.google.com> <20171005203849.18300.20999.stgit@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20171005203849.18300.20999.stgit@bhelgaas-glaptop.roam.corp.google.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Oct 05, 2017 at 03:38:49PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > defines struct pci_bus and struct pci_dev and includes the > struct resource definition before including . Nobody includes > directly, so they don't need their own declarations. > > Remove the redundant struct pci_dev, pci_bus, resource declarations. > > Signed-off-by: Bjorn Helgaas > --- > arch/alpha/include/asm/pci.h | 3 --- > arch/cris/include/asm/pci.h | 2 -- For what it's worth, for the cris changes: Acked-by: Jesper Nilsson > arch/frv/include/asm/pci.h | 2 -- > arch/ia64/include/asm/pci.h | 2 -- > arch/mips/include/asm/pci.h | 2 -- > arch/mn10300/include/asm/pci.h | 2 -- > arch/parisc/include/asm/pci.h | 7 ------- > arch/powerpc/include/asm/pci.h | 2 -- > arch/sh/include/asm/pci.h | 2 -- > arch/sparc/include/asm/pci_32.h | 2 -- > arch/xtensa/include/asm/pci.h | 2 -- > 11 files changed, 28 deletions(-) /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com