mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
Remove pfopen() and pfclose() entirely.
It turns out I was patching functions that weren't used by pf(4) anyway. They still seem to use `struct proc *' instead of `struct thread *'. They weren't listed in pf_cdevsw.
This commit is contained in:
parent
1f895245a0
commit
014bf1f6e5
1 changed files with 0 additions and 12 deletions
|
|
@ -477,18 +477,6 @@ pf_thread_create(void *v)
|
|||
if (kproc_create(pf_purge_thread, NULL, NULL, "pfpurge"))
|
||||
panic("pfpurge thread");
|
||||
}
|
||||
|
||||
int
|
||||
pfopen(struct cdev *dev, int flags, int fmt, struct proc *p)
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
pfclose(struct cdev *dev, int flags, int fmt, struct proc *p)
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
#endif /* __FreeBSD__ */
|
||||
|
||||
struct pf_pool *
|
||||
|
|
|
|||
Loading…
Reference in a new issue