From: Wolfgang Denk Date: Tue, 29 Nov 2011 22:17:54 +0000 (+0000) Subject: board/freescale/mpc8610hpcd/mpc8610hpcd.c: Fix GCC 4.6 build warning X-Git-Tag: v2011.12-rc1~106^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e38cc2c7713c3a6f25b75317bb4ddcf290d33dfd;p=oweals%2Fu-boot.git 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 --- diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index 5b3b560426..2bcd5e6b65 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);