forked from Imagelibrary/rtems
cpukit/libfs: remove more dead code from pipe/fifo.c
Dead code identified by Coverity (CID 1456674). The value of ret at line 358 is always 0.
This commit is contained in:
@@ -355,8 +355,6 @@ ssize_t pipe_write(
|
||||
pipe->waitingWriters ++;
|
||||
PIPE_WRITEWAIT(pipe);
|
||||
pipe->waitingWriters --;
|
||||
if (ret != 0)
|
||||
goto out_locked;
|
||||
|
||||
if (pipe->Readers == 0) {
|
||||
ret = -EPIPE;
|
||||
|
||||
Reference in New Issue
Block a user