From: Kumar Gala Date: Wed, 15 Oct 2008 15:19:41 +0000 (-0500) Subject: 85xx: Fix compile warning X-Git-Tag: v2008.10~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2179c4766bffeece98e5e92040629a96c97e230c;p=u-boot 85xx: Fix compile warning mpc8536ds.c: In function 'is_sata_supported': mpc8536ds.c:614: warning: unused variable 'devdisr' Signed-off-by: Kumar Gala --- diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index 3066b24de7..2648942d0e 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/freescale/mpc8536ds/mpc8536ds.c @@ -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)