X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=common%2Fiomux.c;h=6a757041f6af98a9052aa90313260a8d0ae6c5ea;hb=8440f18a4818d52ba51bb9f0b07ce6439f1b6a57;hp=dbc231250c3f7ad641ed179cb66e0ffabf61f6db;hpb=5e8f98319d8582d6a066610b5f1ec9b1a3f79704;p=platform%2Fkernel%2Fu-boot.git diff --git a/common/iomux.c b/common/iomux.c index dbc2312..6a75704 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);