From e38cc2c7713c3a6f25b75317bb4ddcf290d33dfd Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Tue, 29 Nov 2011 22:17:54 +0000 Subject: board/freescale/mpc8610hpcd/mpc8610hpcd.c: Fix GCC 4.6 build warning Fix: mpc8610hpcd.c: In function 'pci_init_board': mpc8610hpcd.c:238:15: warning: variable 'pordevsr' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk Cc: Kumar Gala Acked-by: Kumar Gala --- board/freescale/mpc8610hpcd/mpc8610hpcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'board/freescale/mpc8610hpcd') diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index 5b3b560..2bcd5e6 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -235,12 +235,11 @@ void pci_init_board(void) volatile immap_t *immap = (immap_t *) CONFIG_SYS_CCSRBAR; volatile ccsr_gur_t *gur = &immap->im_gur; struct fsl_pci_info pci_info; - u32 devdisr, pordevsr; + u32 devdisr; int first_free_busno; int pci_agent; devdisr = in_be32(&gur->devdisr); - pordevsr = in_be32(&gur->pordevsr); first_free_busno = fsl_pcie_init_board(0); -- cgit v1.1