@@ -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;
}
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> --- common/console.c | 11 ----------- 1 file changed, 11 deletions(-)