summaryrefslogtreecommitdiffstats
path: root/common/iomux.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/iomux.c')
-rw-r--r--common/iomux.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/common/iomux.c b/common/iomux.c
index dbc231250c..6a757041f6 100644
--- a/common/iomux.c
+++ b/common/iomux.c
@@ -135,16 +135,6 @@ int iomux_doenv(const int console, const char *arg)
*/
if (console_assign(console, start[j]) < 0)
continue;
- /*
- * This was taken from common/cmd_nvedit.c.
- * This will never work because serial_assign() returns
- * 1 upon error, not -1.
- * This would almost always return an error anyway because
- * serial_assign() expects the name of a serial device, like
- * serial_smc, but the user generally only wants to set serial.
- */
- if (serial_assign(start[j]) < 0)
- continue;
cons_set[cs_idx++] = dev;
}
free(console_args);
OpenPOWER on IntegriCloud