Remove cdevw_add() calls, they are deprecated.
This commit is contained in:
parent
7068a01c6f
commit
c5ec6754d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108364
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user