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 Moolenaar 2007-06-04 17:53:42 +00:00
parent 22e1a9d50e
commit e59febd747
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170286

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);
}