console: cosmetics: remove #if 0
PATCH 1/1 console: cosmetics: remove #if 0
Remove the #if 0 present since the first version of console.c
Signed-off-by Patrick Delaunay <[email protected]>
---
common/console.c | 10 ---------- 1 file changed, 10 deletions(-)
common/console.c +0 -10
@@ -929,11 +929,6 @@ done: gd->flags |=GD_FLG_DEVINIT ;/* device initialization completed */ -#if 0 -/* If nothing usable installed, use only the initial console */ -if ((stdio_devices[stdin] ==NULL ) && (stdio_devices[stdout] ==NULL )) -return 0 ; -#endif print_pre_console_buffer (flushpoint);return 0 ; }
@@ -1012,11 +1007,6 @@ int console_init_r(void) gd->flags |=GD_FLG_DEVINIT ;/* device initialization completed */ -#if 0 -/* If nothing usable installed, use only the initial console */ -if ((stdio_devices[stdin] ==NULL ) && (stdio_devices[stdout] ==NULL )) -return 0 ; -#endif print_pre_console_buffer (flushpoint);return 0 ; }
Signature · 1 line
2.17.1
PATCH 1/1 console: cosmetics: remove #if 0
Quoted 9 lines · Patrick Delaunay
Remove the #if 0 present since the first version of
console.cSigned-off-by Patrick Delaunay <[email protected]>---
common/console.c | 10 ---------- 1 file changed, 10 deletions(-)
Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 console: cosmetics: remove #if 0
In reply to Patrick DelaunayQuoted 4 lines · Patrick Delaunay
Remove the #if 0 present since the first version of
console.cSigned-off-by Patrick Delaunay <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/70035c87/attachment.sig>