]> git.pond.sub.org Git - empserver/commitdiff
(io_output): Remove a redundant check.
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 30 Aug 2005 18:27:49 +0000 (18:27 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 30 Aug 2005 18:27:49 +0000 (18:27 +0000)
src/lib/gen/io.c

index bf77d0f27698abf6299fd43721e848b6d5ae33e7..6686bb0e8fe44b6b059a212ed0451c8a5c9e9a11 100644 (file)
@@ -215,10 +215,6 @@ io_output(struct iop *iop, int waitforoutput)
     if (iop->flags & IO_ERROR)
        return -1;
 
-    /* This is the same test as io_outputwaiting.... */
-    if (ioq_qsize(iop->output) == 0)
-       return 0;
-
 #if !defined(_WIN32)
     /* make the iov point to the data in the queue. */
     /* I.E., each of the elements in the queue. */