diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-12-17 18:15:46 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-12-27 12:40:30 -0500 |
commit | b7558a36203aaf08cbe698e6495bf6db096433ec (patch) | |
tree | 6b75ab1348d05d237cbdbc8e242e7a1d2ec7a240 /src/hw/ahci.c | |
parent | 518955f8eec5ccde9cb1d4ea3a2e633fa556dc39 (diff) | |
download | seabios-b7558a36203aaf08cbe698e6495bf6db096433ec.tar.gz |
Remove unnecesary updates of the disk op->count field.
Now that the op->count field is cleared in a global location on simple
errors, remove various local clears done in individual drivers.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/ahci.c')
-rw-r--r-- | src/hw/ahci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hw/ahci.c b/src/hw/ahci.c index 687cc7d8..ff5d5f9e 100644 --- a/src/hw/ahci.c +++ b/src/hw/ahci.c @@ -314,7 +314,6 @@ process_ahci_op(struct disk_op_s *op) return DISK_RET_SUCCESS; default: dprintf(1, "AHCI: unknown disk command %d\n", op->command); - op->count = 0; return DISK_RET_EPARAM; } } |