cpukit/libfs: remove dead code from pipe/fifo.c

Dead code identified by Coverity (CID 1456678). The value of ret
at line 293 is always 0.
This commit is contained in:
Gedare Bloom
2020-01-03 11:23:09 -07:00
parent f74e806d79
commit 93ccb7288e

View File

@@ -290,8 +290,6 @@ ssize_t pipe_read(
pipe->waitingReaders ++;
PIPE_READWAIT(pipe);
pipe->waitingReaders --;
if (ret != 0)
goto out_locked;
}
/* Read chunk bytes */