mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
ide: remove BUG() from ide_complete_rq()
It is no longer needed so remove it, also while at it dequeue the request only on blk_end_request() success and make ide_complete_rq() return an error value. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
89f78b3261
commit
a9587fd8c4
2 changed files with 7 additions and 5 deletions
|
@ -1166,7 +1166,7 @@ extern int ide_devset_execute(ide_drive_t *drive,
|
|||
const struct ide_devset *setting, int arg);
|
||||
|
||||
void ide_complete_cmd(ide_drive_t *, struct ide_cmd *, u8, u8);
|
||||
void ide_complete_rq(ide_drive_t *, int);
|
||||
int ide_complete_rq(ide_drive_t *, int);
|
||||
|
||||
void ide_tf_dump(const char *, struct ide_taskfile *);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue