Skip to content
Snippets Groups Projects
Commit b5045cdd authored by Detlev Zundel's avatar Detlev Zundel Committed by trix
Browse files

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: default avatarDetlev Zundel <dzu@denx.de>
CC: Ben Warren <biggerbadderben@gmail.com>
CC: Peter Pearse <peter.pearse@arm.com>
parent 0701f730
No related branches found
No related tags found
No related merge requests found
...@@ -132,9 +132,7 @@ int board_eth_init(bd_t *bis) ...@@ -132,9 +132,7 @@ int board_eth_init(bd_t *bis)
#ifdef CONFIG_SMC91111 #ifdef CONFIG_SMC91111
rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
#endif #endif
#ifdef CONFIG_PCI
rc += pci_eth_init(bis); rc += pci_eth_init(bis);
#endif
return rc; return rc;
} }
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment