summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */