Remove redundant checking of sc_leaving (uart_intr() already handles this).
Approved by: marcel
This commit is contained in:
parent
a9ef85b792
commit
f6ffc3c26b
@ -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…
x
Reference in New Issue
Block a user