Module: xenomai-3
Branch: next
Commit: d933583b83209b3e068e0b169b410f7e504f728b
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=d933583b83209b3e068e0b169b410f7e504f728b

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sat Oct 31 20:52:23 2015 +0100

smokey/tsc: remove redundant line breaks

---

 testsuite/smokey/tsc/tsc.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/testsuite/smokey/tsc/tsc.c b/testsuite/smokey/tsc/tsc.c
index 3d6de72..369f042 100644
--- a/testsuite/smokey/tsc/tsc.c
+++ b/testsuite/smokey/tsc/tsc.c
@@ -90,7 +90,7 @@ static int run_tsc(struct smokey_test *t, int argc, char 
*const argv[])
                                CPU_SET(i, &mask);
 
                                smp_sched_setaffinity(0, sizeof(mask), &mask);
-                               smokey_trace("Pinned to cpu %d\n", i);
+                               smokey_trace("Pinned to cpu %d", i);
                                break;
                        }
 #endif
@@ -116,7 +116,7 @@ static int run_tsc(struct smokey_test *t, int argc, char 
*const argv[])
        } else
                secs = 60;
        min = secs / 60;
-       smokey_trace("Checking tsc for %u minute(s)\n", min);
+       smokey_trace("Checking tsc for %u minute(s)", min);
 
        for(i = 0; i < secs; i++) {
                min = ~0U;
@@ -151,7 +151,7 @@ static int run_tsc(struct smokey_test *t, int argc, char 
*const argv[])
                        ++loops;
                } while (tsc2 - start < one_sec_tsc);
 
-               smokey_trace("min: %u, max: %u, avg: %g\n",
+               smokey_trace("min: %u, max: %u, avg: %g",
                        min, max, (double)sum / loops);
 
                if (min < g_min)
@@ -162,7 +162,7 @@ static int run_tsc(struct smokey_test *t, int argc, char 
*const argv[])
                g_loops += loops;
        }
 
-       smokey_trace("min: %u, max: %u, avg: %g -> %g us\n",
+       smokey_trace("min: %u, max: %u, avg: %g -> %g us",
                g_min, g_max, (double)g_sum / g_loops,
                (double)timer_tsc2ns(g_sum) / (1000 * g_loops));
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to