From: Wolfgang Denk Date: Wed, 9 Nov 2011 09:28:54 +0000 (+0000) Subject: drivers/block/sym53c8xx.c: Fix GCC 4.6 build warning X-Git-Tag: v2011.12-rc1~213 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=878d6b48f9412db9ea44bc49887b69e8c05c7edb;p=u-boot drivers/block/sym53c8xx.c: Fix GCC 4.6 build warning Fix: sym53c8xx.c: In function 'scsi_write_dsp': sym53c8xx.c:456:16: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk --- diff --git a/drivers/block/sym53c8xx.c b/drivers/block/sym53c8xx.c index 8094b415a0..564aa9838b 100644 --- a/drivers/block/sym53c8xx.c +++ b/drivers/block/sym53c8xx.c @@ -453,11 +453,9 @@ void scsi_int_enable(void) void scsi_write_dsp(unsigned long start) { - unsigned long val; #ifdef SCSI_SINGLE_STEP unsigned char t; #endif - val = start; out32r(scsi_mem_addr + DSP,start); #ifdef SCSI_SINGLE_STEP t=scsi_read_byte(DCNTL);