diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-03-17 23:59:04 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-27 09:12:26 -0400 |
commit | ce1a7d1564920e35ad5c7a1f4e68aaec496ec9d4 (patch) | |
tree | 2bc8a1dafdddfdcc428c5cba7e5a0a52d028a396 /common | |
parent | 075bb5c6ea7bef0a442d5155b25b273167e67b4a (diff) |
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 <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/console.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/console.c b/common/console.c index 6a0d11bb04c..12293f38362 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; } |