From f6ac5711533ef12864481cd047e702ccc716604d Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Tue, 12 Sep 2017 11:21:54 -0700 Subject: [PATCH] pp: remove superfluous newline character Messages generated using the CPRINTS macro include a newline in the end by design, no need to explicitly include it in the message. BRANCH=cr50 BUG=none TEST=verified that the message is printed without the extra newline Change-Id: I01994bcb95c78e2deaa2dc3617bea9ca8a6d1381 Signed-off-by: Vadim Bendebury Reviewed-on: https://chromium-review.googlesource.com/663668 Reviewed-by: Mary Ruthven --- common/physical_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/physical_presence.c b/common/physical_presence.c index 0f4bbeb0f3..2f136caa84 100644 --- a/common/physical_presence.c +++ b/common/physical_presence.c @@ -134,7 +134,7 @@ static void physical_detect_check_press(void) mutex_lock(&pp_mutex); - CPRINTS("PP press dt=%.6ld\n", dt); + CPRINTS("PP press dt=%.6ld", dt); /* If we no longer care about presses, ignore them */ if (pp_detect_state != PP_DETECT_IN_PROGRESS)