From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Date: Mon, 05 Apr 2010 07:50:17 -0500 Subject: [U-Boot] [PATCH] arm/integrator: Remove unneccessary CONFIG_PCI check. In-Reply-To: <1270042735-26032-1-git-send-email-dzu@denx.de> References: <1270042735-26032-1-git-send-email-dzu@denx.de> Message-ID: <4BB9DC89.7060005@windriver.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Detlev Zundel wrote: > 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. Applied to arm/master Thanks Tom > > Signed-off-by: Detlev Zundel > CC: Ben Warren > CC: Peter Pearse > --- > board/armltd/integrator/integrator.c | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c > index 518944e..9bb56b5 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