Revert to the previous version where the return value of uart_getenv()

is being ignored. It's optional and the lack of environment variable
is not an error condition.
This commit is contained in:
marcel 2007-06-04 17:53:42 +00:00
parent 3f6ea62ed6
commit c118c8a64b

View File

@ -80,5 +80,6 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di)
uart_bus_space_io = &at91_bs_tag;
uart_bus_space_mem = NULL;
/* Check the environment for overrides */
return (uart_getenv(devtype, di, class));
uart_getenv(devtype, di, class);
return (0);
}