From 3ba622e575b68ac9422b013ea10858d554091d94 Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Wed, 27 May 2015 13:16:27 +0200
Subject: [PATCH] Removed printout in case of no errors.

---
 lib/c/2014/test/test_labcomm_renaming_encoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/c/2014/test/test_labcomm_renaming_encoder.c b/lib/c/2014/test/test_labcomm_renaming_encoder.c
index ece917b..e16d855 100644
--- a/lib/c/2014/test/test_labcomm_renaming_encoder.c
+++ b/lib/c/2014/test/test_labcomm_renaming_encoder.c
@@ -132,7 +132,7 @@ static int buf_writer_ioctl(
 	  mismatch = 1;
 	}
       }
-      if (1 || mismatch) {
+      if (mismatch) {
 	fprintf(stderr, "Encoder mismatch (%s:%d)\n",
 		__FILE__, line);
 
-- 
GitLab