
Signed-off-by: Marek Vasut marex@denx.de Cc: Wolfgang Denk wd@denx.de --- common/console.c | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/common/console.c b/common/console.c index 1177f7d..df03cef 100644 --- a/common/console.c +++ b/common/console.c @@ -694,11 +694,6 @@ done: } #endif /* CONFIG_SYS_CONSOLE_ENV_OVERWRITE */
-#if 0 - /* If nothing usable installed, use only the initial console */ - if ((stdio_devices[stdin] == NULL) && (stdio_devices[stdout] == NULL)) - return 0; -#endif return 0; }
@@ -767,12 +762,6 @@ int console_init_r(void) setenv(stdio_names[i], stdio_devices[i]->name); }
-#if 0 - /* If nothing usable installed, use only the initial console */ - if ((stdio_devices[stdin] == NULL) && (stdio_devices[stdout] == NULL)) - return 0; -#endif - return 0; }