From: Patrick Delaunay Date: Wed, 2 Dec 2020 14:16:13 +0000 (+0100) Subject: console: cosmetics: remove #if 0 X-Git-Tag: baikal/mips/sdk5.9~34^2^2~242^2~17 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=bc0a00fc0a207528b924644900a0b0c62bfbfdf5;p=uboot.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; }