From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Delaunay Date: Wed, 2 Dec 2020 15:16:13 +0100 Subject: [PATCH] console: cosmetics: remove #if 0 Message-ID: <20201202151553.1.I4114af6c3678fdd5bccc69f141dca0b7f30ccc92@changeid> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Remove the #if 0 present since the first version of console.c Signed-off-by: Patrick Delaunay --- common/console.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/common/console.c b/common/console.c index 3348436da6..d9dfd61ac3 100644 --- a/common/console.c +++ b/common/console.c @@ -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; } -- 2.17.1