The fifothread is only created when use_fifo is set; having the thread itself perform a check is redundant and unnecessary. Drop it. Signed-off-by: Josh Cartwright <joshc@xxxxxx> --- src/cyclictest/cyclictest.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index dc754fd..896cdd7 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1773,9 +1773,6 @@ static void *fifothread(void *param) FILE *fp; int i; - if (use_fifo == 0) - return NULL; - unlink(fifopath); ret = mkfifo(fifopath, 0666); if (ret) { -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html