diff options
author | ed <ed@FreeBSD.org> | 2009-01-25 14:39:15 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-01-25 14:39:15 +0000 |
commit | 6b2f4a197273fc804eb0fe80f38d8bef87cbe254 (patch) | |
tree | 5fccf8e4cb8e9407c73cb881d03c899ad4a6997b /sys | |
parent | 4a0deaef8654226a6deee155c89991cb82ec5e9f (diff) | |
download | FreeBSD-src-6b2f4a197273fc804eb0fe80f38d8bef87cbe254.zip FreeBSD-src-6b2f4a197273fc804eb0fe80f38d8bef87cbe254.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/contrib/pf/net/pf_ioctl.c | 12 |
1 files changed, 0 insertions, 12 deletions
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 * |