mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
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>
This commit is contained in:
parent
7625dd68e3
commit
878d6b48f9
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue