summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_tty.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-10-16 20:22:56 +0000
committerphk <phk@FreeBSD.org>2005-10-16 20:22:56 +0000
commit2853ff590d956b1bb6b15c5543758e76d69c823c (patch)
tree136df2f5eb3978a913bbef50def66e4c0eb9606d /sys/dev/uart/uart_tty.c
parent643ec6468f745d42570f07a6873d4eeffe51baa6 (diff)
downloadFreeBSD-src-2853ff590d956b1bb6b15c5543758e76d69c823c.zip
FreeBSD-src-2853ff590d956b1bb6b15c5543758e76d69c823c.tar.gz
Eliminate two unused arguments to ttycreate().
Diffstat (limited to 'sys/dev/uart/uart_tty.c')
-rw-r--r--sys/dev/uart/uart_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c
index 6eb573b..a2219c6 100644
--- a/sys/dev/uart/uart_tty.c
+++ b/sys/dev/uart/uart_tty.c
@@ -380,7 +380,7 @@ uart_tty_attach(struct uart_softc *sc)
swi_add(&tty_ithd, uart_driver_name, uart_tty_intr, sc, SWI_TTY,
INTR_TYPE_TTY, &sc->sc_softih);
- ttycreate(tp, NULL, 0, MINOR_CALLOUT, "u%r", unit);
+ ttycreate(tp, TS_CALLOUT, "u%r", unit);
return (0);
}
OpenPOWER on IntegriCloud