diff options
author | phk <phk@FreeBSD.org> | 2005-10-16 20:22:56 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-10-16 20:22:56 +0000 |
commit | 2853ff590d956b1bb6b15c5543758e76d69c823c (patch) | |
tree | 136df2f5eb3978a913bbef50def66e4c0eb9606d /sys/dev/cx/if_cx.c | |
parent | 643ec6468f745d42570f07a6873d4eeffe51baa6 (diff) | |
download | FreeBSD-src-2853ff590d956b1bb6b15c5543758e76d69c823c.zip FreeBSD-src-2853ff590d956b1bb6b15c5543758e76d69c823c.tar.gz |
Eliminate two unused arguments to ttycreate().
Diffstat (limited to 'sys/dev/cx/if_cx.c')
-rw-r--r-- | sys/dev/cx/if_cx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c index 8cf2912..c6ebc3b 100644 --- a/sys/dev/cx/if_cx.c +++ b/sys/dev/cx/if_cx.c @@ -898,8 +898,7 @@ static int cx_attach (device_t dev) cx_register_modem (c, &cx_modem); CX_UNLOCK (bd); - ttycreate(d->tty, NULL, 0, MINOR_CALLOUT, - "x%r%r", b->num, c->num); + ttycreate(d->tty, TS_CALLOUT, "x%r%r", b->num, c->num); d->devt = make_dev (&cx_cdevsw, b->num*NCHAN + c->num + 64, UID_ROOT, GID_WHEEL, 0600, "cx%d", b->num*NCHAN + c->num); d->devt->si_drv1 = d; callout_init (&d->dcd_timeout_handle, |