aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide-io.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index 4a97a97e56c4..45fc18ff73cb 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -337,9 +337,7 @@ static ide_startstop_t execute_drive_cmd (ide_drive_t *drive,
337#ifdef DEBUG 337#ifdef DEBUG
338 printk("%s: DRIVE_CMD (null)\n", drive->name); 338 printk("%s: DRIVE_CMD (null)\n", drive->name);
339#endif 339#endif
340 (void)hwif->tp_ops->read_status(hwif); 340 ide_complete_rq(drive, 0);
341
342 ide_complete_rq(drive, ide_read_error(drive));
343 341
344 return ide_stopped; 342 return ide_stopped;
345} 343}