[PATCH] [POWERPC] remove redundant declaration of hose_list.

Stephen Rothwell sfr at canb.auug.org.au
Mon Nov 19 17:17:07 EST 2007


It is already declared in ppc-pci.h which is included.

Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
---
 arch/powerpc/kernel/pci-common.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au

diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index 742ff72..15ec71a 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -50,8 +50,6 @@ static DEFINE_SPINLOCK(hose_spinlock);
 /* XXX kill that some day ... */
 static int global_phb_number;		/* Global phb counter */
 
-extern struct list_head hose_list;
-
 /*
  * pci_controller(phb) initialized common variables.
  */
-- 
1.5.3.5




More information about the Linuxppc-dev mailing list