mirror of
https://github.com/simh/simh.git
synced 2026-04-13 23:44:44 +00:00
SCP: Removed redundant SCPE_NOTATT which duplicates SCPE_UNATT
This commit is contained in:
@@ -547,10 +547,11 @@ t_bool auto_format = FALSE;
|
||||
|
||||
if (uptr == NULL)
|
||||
return SCPE_IERR;
|
||||
if (!(uptr->flags & UNIT_ATT))
|
||||
return SCPE_UNATT;
|
||||
|
||||
ctx = (struct tape_context *)uptr->tape_ctx;
|
||||
f = MT_GET_FMT (uptr);
|
||||
if ((ctx == NULL) || !(uptr->flags & UNIT_ATT))
|
||||
return SCPE_IERR;
|
||||
|
||||
if (uptr->io_flush)
|
||||
uptr->io_flush (uptr); /* flush buffered data */
|
||||
|
||||
Reference in New Issue
Block a user