From: Kumar Gala Date: Sun, 19 Oct 2008 12:49:19 -0500 Subject: [U-Boot] [PATCH] 85xx: Fix compile warning in mpc8536ds.c Message-ID: <1224438559-28218-1-git-send-email-galak@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de mpc8536ds.c: In function 'is_sata_supported': mpc8536ds.c:615: warning: unused variable 'devdisr' Signed-off-by: Kumar Gala --- board/freescale/mpc8536ds/mpc8536ds.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/board/freescale/mpc8536ds/mpc8536ds.c b/board/freescale/mpc8536ds/mpc8536ds.c index ce77bb9..f357826 100644 --- a/board/freescale/mpc8536ds/mpc8536ds.c +++ b/board/freescale/mpc8536ds/mpc8536ds.c @@ -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) -- 1.5.5.1