From: Patrick Delaunay Date: Wed, 2 Dec 2020 14:16:13 +0000 (+0100) Subject: console: cosmetics: remove #if 0 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=449efce69a7b7aa5d399d750a5ed12273d0ca851;p=u-boot.git console: cosmetics: remove #if 0 Remove the #if 0 present since the first version of console.c Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- diff --git a/common/console.c b/common/console.c index b15f732ccb..f3cc45cab5 100644 --- a/common/console.c +++ b/common/console.c @@ -1029,11 +1029,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; } @@ -1105,11 +1100,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; }