From: Detlev Zundel Date: Wed, 31 Mar 2010 13:38:55 +0000 (+0200) Subject: arm/integrator: Remove unneccessary CONFIG_PCI check. X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b5045cdda556c73e2697cd1d3ea6563315cbf490;p=u-boot.git arm/integrator: Remove unneccessary CONFIG_PCI check. 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 CC: Ben Warren CC: Peter Pearse --- diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c index 518944e077..9bb56b5208 100644 --- a/board/armltd/integrator/integrator.c +++ b/board/armltd/integrator/integrator.c @@ -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