diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-31 11:29:30 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-31 11:29:30 +0000 |
commit | 2447bec8293649f281b5f9926a7cd4097ccaf4bf (patch) | |
tree | f7694bd7dc78280030c80d074ef35b7f539ff9ca /sys/netinet | |
parent | db453b16791eca0888057e429ec55ab2c1e14af9 (diff) | |
download | src-test2-2447bec8293649f281b5f9926a7cd4097ccaf4bf.tar.gz src-test2-2447bec8293649f281b5f9926a7cd4097ccaf4bf.zip |
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/mlf_ipl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/mlf_ipl.c b/sys/netinet/mlf_ipl.c index 014220998f9d..3e0e240338d6 100644 --- a/sys/netinet/mlf_ipl.c +++ b/sys/netinet/mlf_ipl.c @@ -382,14 +382,12 @@ static int ipl_devsw_installed; static void ipl_drvinit __P((void *unused)) { - dev_t dev; # ifdef DEVFS void **tp = ipf_devfs; # endif if (!ipl_devsw_installed ) { - dev = makedev(CDEV_MAJOR, 0); - cdevsw_add(&dev, &ipl_cdevsw, NULL); + cdevsw_add(&ipl_cdevsw); ipl_devsw_installed = 1; # ifdef DEVFS |