mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
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:
parent
22e1a9d50e
commit
e59febd747
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue