Remove cdevw_add() calls, they are deprecated.

This commit is contained in:
Poul-Henning Kamp 2002-12-28 21:40:20 +00:00
parent 7068a01c6f
commit c5ec6754d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108364

View File

@ -1398,7 +1398,6 @@ bpf_drvinit(unused)
mtx_init(&bpf_mtx, "bpf global lock", NULL, MTX_DEF);
EVENTHANDLER_REGISTER(dev_clone, bpf_clone, 0, 1000);
cdevsw_add(&bpf_cdevsw);
}
SYSINIT(bpfdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,bpf_drvinit,NULL)