From 6b2f4a197273fc804eb0fe80f38d8bef87cbe254 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 25 Jan 2009 14:39:15 +0000 Subject: 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(-) (limited to 'sys/contrib/pf') diff --git a/sys/contrib/pf/net/pf_ioctl.c b/sys/contrib/pf/net/pf_ioctl.c index 083f7aa..7981a08 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 * -- cgit v1.1