From 862d2b5e3a37bde849ee8a60fce911a569fd4dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Hohensohn?= Date: Fri, 16 Jan 2004 09:28:39 +0000 Subject: [PATCH] warning + obsolete variable removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4248 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 2 -- 1 file changed, 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 */