From 8440f18a4818d52ba51bb9f0b07ce6439f1b6a57 Mon Sep 17 00:00:00 2001 From: Allen Martin Date: Thu, 25 Oct 2012 13:30:14 +0000 Subject: serial: remove calls to serial_assign() Remove calls to serial_assign() that are failing now that it returns a proper error code. This calls were not actually doing anything because they passed the name of a stdio_dev when a serial_device name is exptectd. Signed-off-by: Allen Martin Acked-by: Joe Hershberger Acked-by: Marek Vasut Acked-by: Simon Glass Tested-by: Simon Glass Tested-by: Stephen Warren --- common/cmd_nvedit.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'common/cmd_nvedit.c') diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 1f9c674260..68c38f4e5c 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -238,9 +238,6 @@ int env_check_apply(const char *name, const char *oldval, /* Try assigning specified device */ if (console_assign(console, newval) < 0) return 1; - - if (serial_assign(newval) < 0) - return 1; #endif /* CONFIG_CONSOLE_MUX */ } -- cgit v1.2.3