From 449efce69a7b7aa5d399d750a5ed12273d0ca851 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Wed, 2 Dec 2020 15:16:13 +0100 Subject: [PATCH] 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 --- common/console.c | 10 ---------- 1 file changed, 10 deletions(-) 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; } -- 2.39.5