mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Remove redundant checking of sc_leaving (uart_intr() already handles this).
Approved by: marcel
This commit is contained in:
parent
a9ef85b792
commit
f6ffc3c26b
2 changed files with 2 additions and 5 deletions
|
|
@ -604,7 +604,7 @@ ns8250_bus_ipend(struct uart_softc *sc)
|
|||
if (ipend == 0)
|
||||
ns8250_clrint(bas);
|
||||
uart_unlock(sc->sc_hwmtx);
|
||||
return ((sc->sc_leaving) ? 0 : ipend);
|
||||
return (ipend);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
|
|
@ -644,12 +644,9 @@ oct16550_bus_ipend(struct uart_softc *sc)
|
|||
if (ipend) octeon_led_run_wheel(&where1, 6 + device_get_unit(sc->sc_dev));
|
||||
#endif
|
||||
|
||||
return ((sc->sc_leaving) ? 0 : ipend);
|
||||
return (ipend);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static int
|
||||
oct16550_bus_param (struct uart_softc *sc, int baudrate, int databits,
|
||||
int stopbits, int parity)
|
||||
|
|
|
|||
Loading…
Reference in a new issue