summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-01-16 09:28:39 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-01-16 09:28:39 +0000
commit862d2b5e3a37bde849ee8a60fce911a569fd4dfd (patch)
tree30380a4cf8b345c52142b1021ef13be56c5b29f8
parent88faf38ef7bdca708e3134f127d5c3e2a1b44d1e (diff)
downloadrockbox-862d2b5e3a37bde849ee8a60fce911a569fd4dfd.tar.gz
rockbox-862d2b5e3a37bde849ee8a60fce911a569fd4dfd.zip
warning + obsolete variable removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4248 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 45eb1a5963..63e603f76f 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -168,8 +168,6 @@ static void copy_read_sectors(unsigned char* buf,
__attribute__ ((section (".icode")));
static void copy_read_sectors(unsigned char* buf, int wordcount)
{
- int j;
-
if (wordcount <= 0)
return; /* should never happen, but to protect my tail loop */