git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08f0105
)
ata: fix sparse warning in libata-core.c
author
Harvey Harrison
<harvey.harrison@gmail.com>
Thu, 14 Feb 2008 18:45:23 +0000
(10:45 -0800)
committer
Jeff Garzik
<jeff@garzik.org>
Fri, 15 Feb 2008 18:50:56 +0000
(13:50 -0500)
rc is used to test the return value and possibly return an error.
No need to redeclare inside the loop.
drivers/ata/libata-core.c:7089:7: warning: symbol 'rc' shadows an earlier one
drivers/ata/libata-core.c:7030:9: originally declared here
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
No differences found