From: Bin Meng Date: Fri, 18 Mar 2016 06:59:04 +0000 (-0700) Subject: debug_uart: Remove duplicated carriage return handling X-Git-Tag: v2016.05-rc1~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce1a7d1564920e35ad5c7a1f4e68aaec496ec9d4;p=platform%2Fkernel%2Fu-boot.git debug_uart: Remove duplicated carriage return handling Since commit b391d74 "debug_uart: output CR along with LF", the handling in puts() is duplicated, not to mention that it should output carriage return before line feed. Signed-off-by: Bin Meng Reviewed-by: Tom Rini --- diff --git a/common/console.c b/common/console.c index 6a0d11b..12293f3 100644 --- a/common/console.c +++ b/common/console.c @@ -515,8 +515,6 @@ void puts(const char *s) int ch = *s++; printch(ch); - if (ch == '\n') - printch('\r'); } return; }