aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/mg_disk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c
index f703f5478246..5b120eab2baa 100644
--- a/drivers/block/mg_disk.c
+++ b/drivers/block/mg_disk.c
@@ -245,8 +245,6 @@ static unsigned int mg_wait(struct mg_host *host, u32 expect, u32 msec)
245 mg_dump_status("not ready", status, host); 245 mg_dump_status("not ready", status, host);
246 return MG_ERR_INV_STAT; 246 return MG_ERR_INV_STAT;
247 } 247 }
248 if (prv_data->use_polling)
249 msleep(1);
250 248
251 status = inb((unsigned long)host->dev_base + MG_REG_STATUS); 249 status = inb((unsigned long)host->dev_base + MG_REG_STATUS);
252 } while (time_before(cur_jiffies, expire)); 250 } while (time_before(cur_jiffies, expire));