aboutsummaryrefslogtreecommitdiffstats
path: root/src/cdrom.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-12-17 18:15:46 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-12-27 12:40:30 -0500
commitb7558a36203aaf08cbe698e6495bf6db096433ec (patch)
tree6b75ab1348d05d237cbdbc8e242e7a1d2ec7a240 /src/cdrom.c
parent518955f8eec5ccde9cb1d4ea3a2e633fa556dc39 (diff)
downloadseabios-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/cdrom.c')
-rw-r--r--src/cdrom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cdrom.c b/src/cdrom.c
index 811bef5b..ff419c0f 100644
--- a/src/cdrom.c
+++ b/src/cdrom.c
@@ -104,7 +104,6 @@ process_cdemu_op(struct disk_op_s *op)
case CMD_ISREADY:
return DISK_RET_SUCCESS;
default:
- op->count = 0;
return DISK_RET_EPARAM;
}
}