[PATCH] pipe/fifo.c: Remove dead code (CID 1437649)

Joel Sherrill joel at rtems.org
Thu Nov 22 00:48:13 UTC 2018


Closes #3581.
---
 cpukit/libfs/src/pipe/fifo.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c
index d664adf..71d5f85 100644
--- a/cpukit/libfs/src/pipe/fifo.c
+++ b/cpukit/libfs/src/pipe/fifo.c
@@ -100,7 +100,6 @@ static int pipe_alloc(
     c = 'a';
   return 0;
 
-  rtems_barrier_delete(pipe->writeBarrier);
 err_wbar:
   rtems_barrier_delete(pipe->readBarrier);
 err_rbar:
-- 
1.8.3.1



More information about the devel mailing list