aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rc
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-10-16 20:22:56 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-10-16 20:22:56 +0000
commit733634738ed6c3de9cd7937fdecdcaaa5555b03f (patch)
tree136df2f5eb3978a913bbef50def66e4c0eb9606d /sys/dev/rc
parenta9c76d92d2f1973701e47abbb31b9c53d10a0efd (diff)
downloadsrc-733634738ed6c3de9cd7937fdecdcaaa5555b03f.tar.gz
src-733634738ed6c3de9cd7937fdecdcaaa5555b03f.zip
Eliminate two unused arguments to ttycreate().
Notes
Notes: svn path=/head/; revision=151383
Diffstat (limited to 'sys/dev/rc')
-rw-r--r--sys/dev/rc/rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 071dbc777efc..d8a825973f31 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -301,7 +301,7 @@ rc_attach(device_t dev)
tp->t_break = rc_break;
tp->t_close = rc_close;
tp->t_stop = rc_stop;
- ttycreate(tp, NULL, 0, MINOR_CALLOUT, "m%d", chan + base);
+ ttycreate(tp, TS_CALLOUT, "m%d", chan + base);
}
error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_TTY, rc_intr, sc,