ide: no need to read Status and Error registers for "empty" taskfile requests

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent a09485df
......@@ -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);
ide_complete_rq(drive, ide_read_error(drive));
ide_complete_rq(drive, 0);
return ide_stopped;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment