arm/integrator: Remove unneccessary CONFIG_PCI check.
authorDetlev Zundel <dzu@denx.de>
Wed, 31 Mar 2010 13:38:55 +0000 (15:38 +0200)
committertrix <trix@windriver.com>
Sun, 4 Apr 2010 16:08:55 +0000 (11:08 -0500)
pci_eth_init() is already conditional to CONFIG_PCI so not every caller
needs to have conditionals.

This is the only place in the current code base where such a check is
still at the calling site.

Signed-off-by: Detlev Zundel <dzu@denx.de>
CC: Ben Warren <biggerbadderben@gmail.com>
CC: Peter Pearse <peter.pearse@arm.com>
board/armltd/integrator/integrator.c

index 518944e077684d5a180b01e9b3238347433d2618..9bb56b520823903497408673c996c1ab3e94453c 100644 (file)
@@ -132,9 +132,7 @@ int board_eth_init(bd_t *bis)
 #ifdef CONFIG_SMC91111
        rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
 #endif
-#ifdef CONFIG_PCI
        rc += pci_eth_init(bis);
-#endif
        return rc;
 }
 #endif