]> git.sur5r.net Git - u-boot/commitdiff
85xx: Fix compile warning in mpc8536ds.c
authorKumar Gala <galak@kernel.crashing.org>
Sun, 19 Oct 2008 17:49:19 +0000 (12:49 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 21 Oct 2008 09:27:08 +0000 (11:27 +0200)
mpc8536ds.c: In function 'is_sata_supported':
mpc8536ds.c:615: warning: unused variable 'devdisr'

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8536ds/mpc8536ds.c

index ce77bb9494c053cd14feefdde05a974019fa54b8..f357826fd055187b6a4ac05cb50a8fc5369bb086 100644 (file)
@@ -612,7 +612,6 @@ get_board_ddr_clk(ulong dummy)
 int is_sata_supported(void)
 {
        volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
-       uint devdisr = gur->devdisr;
        uint sdrs2_io_sel =
                (gur->pordevsr & MPC85xx_PORDEVSR_SRDS2_IO_SEL) >> 27;
        if (sdrs2_io_sel & 0x04)