forked from Imagelibrary/rtems
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:
@@ -290,8 +290,6 @@ ssize_t pipe_read(
|
||||
pipe->waitingReaders ++;
|
||||
PIPE_READWAIT(pipe);
|
||||
pipe->waitingReaders --;
|
||||
if (ret != 0)
|
||||
goto out_locked;
|
||||
}
|
||||
|
||||
/* Read chunk bytes */
|
||||
|
||||
Reference in New Issue
Block a user