diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:13 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:13 +0200 |
commit | 162484b83c392eeef33de2eb8111fcbe7f1e1e14 (patch) | |
tree | d803c4357400b05ff89cb5e25920cd359d0baa94 /common/console.c | |
parent | 13a0908f07be07b58df8f312acf92a58047383a6 (diff) | |
download | barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.gz barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.xz |
svn_rev_003
remove all #if 0 and #if 1
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 10 |
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); } |