summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata.c
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 /firmware/drivers/ata.c
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
Diffstat (limited to 'firmware/drivers/ata.c')
-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,
168 __attribute__ ((section (".icode"))); 168 __attribute__ ((section (".icode")));
169static void copy_read_sectors(unsigned char* buf, int wordcount) 169static void copy_read_sectors(unsigned char* buf, int wordcount)
170{ 170{
171 int j;
172
173 if (wordcount <= 0) 171 if (wordcount <= 0)
174 return; /* should never happen, but to protect my tail loop */ 172 return; /* should never happen, but to protect my tail loop */
175 173