projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a09485d
)
ide: no need to read Status and Error registers for "empty" taskfile requests
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:31 +0000
(12:46 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:31 +0000
(12:46 +0100)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-io.c
b/drivers/ide/ide-io.c
index 4a97a97e56c40206ff42ac75e68534c5dda21347..45fc18ff73cb22c9c55662d5878bf5c55b930e41 100644
(file)
--- 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;
}