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:
Ed Schouten 2009-01-25 14:39:15 +00:00
parent 1f895245a0
commit 014bf1f6e5

View file

@ -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 *