mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
uart: plug a set-but-not-used var
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
0fd5c29944
commit
f2edc91557
1 changed files with 2 additions and 0 deletions
|
|
@ -345,9 +345,11 @@ static __inline int
|
|||
uart_intr_rxready(void *arg)
|
||||
{
|
||||
struct uart_softc *sc = arg;
|
||||
#if defined(KDB)
|
||||
int rxp;
|
||||
|
||||
rxp = sc->sc_rxput;
|
||||
#endif
|
||||
UART_RECEIVE(sc);
|
||||
#if defined(KDB)
|
||||
if (sc->sc_sysdev != NULL && sc->sc_sysdev->type == UART_DEV_CONSOLE) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue