1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-13 15:27:04 +00:00

KA10: Clean up coverity error.

This commit is contained in:
Richard Cornwell 2018-07-05 22:00:24 -04:00
parent d68d40b633
commit d4e51f979a

View File

@ -678,10 +678,8 @@ t_stat dp_svc (UNIT *uptr)
ctlr, uptr->UFLAGS, cyl, cyl, sect, surf,uptr->CUR_CYL);
uptr->STATUS |= SRC_DONE;
if (uptr->STATUS & END_CYL) {
if (cmd == WR) {
if(df10_read(df10))
df10_read(df10);
}
if(df10_read(df10))
df10_read(df10);
uptr->UFLAGS |= DONE;
uptr->STATUS &= ~BUSY;
df10_finish_op(df10, 0);