1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-08-31 16:22:36 +02:00

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>
This commit is contained in:
Bin Meng
2016-03-17 23:59:04 -07:00
committed by Tom Rini
parent 075bb5c6ea
commit ce1a7d1564

View File

@@ -515,8 +515,6 @@ void puts(const char *s)
int ch = *s++;
printch(ch);
if (ch == '\n')
printch('\r');
}
return;
}