aboutsummaryrefslogtreecommitdiff
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 4a97a97e56c..45fc18ff73c 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,
#ifdef DEBUG
printk("%s: DRIVE_CMD (null)\n", drive->name);
#endif
- (void)hwif->tp_ops->read_status(hwif);
-
- ide_complete_rq(drive, ide_read_error(drive));
+ ide_complete_rq(drive, 0);
return ide_stopped;
}