board/freescale/mpc8610hpcd/mpc8610hpcd.c: Fix GCC 4.6 build warning
authorWolfgang Denk <wd@denx.de>
Tue, 29 Nov 2011 22:17:54 +0000 (22:17 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 1 Dec 2011 23:16:30 +0000 (00:16 +0100)
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 <wd@denx.de>
Cc: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8610hpcd/mpc8610hpcd.c

index 5b3b56042613585da16e4efe3c234dc5db7f7496..2bcd5e6b659f6ee7c4d3ffab0598269bf6c0e678 100644 (file)
@@ -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);