
28 Jul
2017
28 Jul
'17
6:19 a.m.
Hi Masahiro,
On 16 July 2017 at 22:08, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Current puts() and putc() have similar #ifdef / if() conditionals. Make puts() iterate over putc() to avoid code duplication.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
common/console.c | 44 ++------------------------------------------ 1 file changed, 2 insertions(+), 42 deletions(-)
This is here I think because having the conditions outside the loop is faster. But perhaps it makes not difference really.
Reviewed-by: Simon Glass sjg@chromium.org