From 014bf1f6e5c96ea412c28fe214c0998d2a0c30ab Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 25 Jan 2009 14:39:15 +0000 Subject: [PATCH] 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. --- sys/contrib/pf/net/pf_ioctl.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/sys/contrib/pf/net/pf_ioctl.c b/sys/contrib/pf/net/pf_ioctl.c index 083f7aa44cd..7981a0814c4 100644 --- a/sys/contrib/pf/net/pf_ioctl.c +++ b/sys/contrib/pf/net/pf_ioctl.c @@ -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 *