summaryrefslogtreecommitdiff
path: root/board/armltd
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@denx.de>2010-03-31 15:38:55 +0200
committertrix <trix@windriver.com>2010-04-04 11:08:55 -0500
commitb5045cdda556c73e2697cd1d3ea6563315cbf490 (patch)
treee4c0906d1d10a9388b90c70449672deb2144e000 /board/armltd
parent0701f730cebc8dd065b70812ca0332055dcf10f8 (diff)
downloadu-boot-b5045cdda556c73e2697cd1d3ea6563315cbf490.tar.gz
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 <dzu@denx.de> CC: Ben Warren <biggerbadderben@gmail.com> CC: Peter Pearse <peter.pearse@arm.com>
Diffstat (limited to 'board/armltd')
-rw-r--r--board/armltd/integrator/integrator.c2
1 files changed, 0 insertions, 2 deletions
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