diff options
-rw-r--r-- | src/pty/ntapi_pty_io.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pty/ntapi_pty_io.c b/src/pty/ntapi_pty_io.c index 4d73348..21e3b70 100644 --- a/src/pty/ntapi_pty_io.c +++ b/src/pty/ntapi_pty_io.c @@ -34,9 +34,6 @@ static int32_t __stdcall __ntapi_pty_read_write( if (offset && offset->quad) return NT_STATUS_INVALID_PARAMETER; - else if (__ntapi->tt_sync_block_lock(&pty->sync[mode],1,0,0)) - return NT_STATUS_RESOURCE_NOT_OWNED; - nbytes = nbytes <= pty->section_size / 2 ? nbytes : pty->section_size / 2; |