projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7625dd6
)
drivers/block/sym53c8xx.c: Fix GCC 4.6 build warning
author
Wolfgang Denk
<wd@denx.de>
Wed, 9 Nov 2011 09:28:54 +0000
(09:28 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 16 Nov 2011 20:01:49 +0000
(21:01 +0100)
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>
drivers/block/sym53c8xx.c
patch
|
blob
|
history
diff --git
a/drivers/block/sym53c8xx.c
b/drivers/block/sym53c8xx.c
index 8094b415a0ad4593b06cb33a65de723cc879d918..564aa9838b429f69aa4cd1d4f52031326c446e60 100644
(file)
--- 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);