summaryrefslogtreecommitdiff
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,
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