mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-19 07:27:50 +00:00
ide: no need to read Status and Error registers for "empty" taskfile requests
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
a09485df9c
commit
5e76acd588
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user