85xx: Fix compile warning
authorKumar Gala <galak@kernel.crashing.org>
Wed, 15 Oct 2008 15:19:41 +0000 (10:19 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 16 Oct 2008 23:18:56 +0000 (01:18 +0200)
mpc8536ds.c: In function 'is_sata_supported':
mpc8536ds.c:614: warning: unused variable 'devdisr'

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

index 3066b24de7a3011eb4e56fa3c0ebdd52c54644dc..2648942d0eb0fb4cccf5937485d3a692b1f7eeb5 100644 (file)
@@ -611,7 +611,6 @@ get_board_ddr_clk(ulong dummy)
 int is_sata_supported(void)
 {
        volatile ccsr_gur_t *gur = (void *)(CFG_MPC85xx_GUTS_ADDR);
-       uint devdisr = gur->devdisr;
        uint sdrs2_io_sel =
                (gur->pordevsr & MPC85xx_PORDEVSR_SRDS2_IO_SEL) >> 27;
        if (sdrs2_io_sel & 0x04)