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

Joel Sherrill joel at rtems.org
Thu Nov 22 15:59:34 UTC 2018


Module:    rtems
Branch:    master
Commit:    9dfb9a9879cd82f47604dfc007533f62b99bb392
Changeset: http://git.rtems.org/rtems/commit/?id=9dfb9a9879cd82f47604dfc007533f62b99bb392

Author:    Joel Sherrill <joel at rtems.org>
Date:      Wed Nov 21 18:46:35 2018 -0600

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

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:



More information about the vc mailing list