aboutsummaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorPatrick Delaunay2020-12-02 15:16:13 +0100
committerTom Rini2021-01-16 14:49:09 -0500
commit449efce69a7b7aa5d399d750a5ed12273d0ca851 (patch)
tree0de7371e3e2cf9d3a69f2bdbedd4ccf489887e38 /common/console.c
parent7cf5b4053b433ae0dbb0462e58fd426b43fc69fd (diff)
console: cosmetics: remove #if 0
Remove the #if 0 present since the first version of console.c Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/common/console.c b/common/console.c
index b15f732ccb8..f3cc45cab54 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;
}