diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-09 09:28:54 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-16 21:01:49 +0100 |
commit | 878d6b48f9412db9ea44bc49887b69e8c05c7edb (patch) | |
tree | 8a3f1b299e8f2080bae25436d3681b0fc1caa8df | |
parent | 7625dd68e30e7782afce37c8d5e259fcb8d669ec (diff) | |
download | u-boot-imx-878d6b48f9412db9ea44bc49887b69e8c05c7edb.zip u-boot-imx-878d6b48f9412db9ea44bc49887b69e8c05c7edb.tar.gz u-boot-imx-878d6b48f9412db9ea44bc49887b69e8c05c7edb.tar.bz2 |
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 <wd@denx.de>
-rw-r--r-- | drivers/block/sym53c8xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/sym53c8xx.c b/drivers/block/sym53c8xx.c index 8094b41..564aa98 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); |