summaryrefslogtreecommitdiffstats
path: root/common/console.c
diff options
context:
space:
mode:
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 e9f23bec18..76b4ad071a 100644
--- a/common/console.c
+++ b/common/console.c
@@ -474,11 +474,6 @@ int console_init_r (void)
}
#endif /* CFG_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);
}
@@ -560,11 +555,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);
}