summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2008-06-10 20:05:14 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2008-06-10 20:05:14 +0000
commitf6f76a753f3eb39fdcb22f108de7c5a843215dd4 (patch)
treeb53ced47f8c632005fa27112598b87eb86e5ab5f /sys
parentc65dbd2c58f0596248a919895ab0f32db25e1bf8 (diff)
remove a debug check& printf that should not have gone in in the first
place
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index cc8885e8e4c..a1816ffecc8 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.585 2008/06/10 19:32:13 henning Exp $ */
+/* $OpenBSD: pf.c,v 1.586 2008/06/10 20:05:13 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -713,8 +713,6 @@ pf_state_key_detach(struct pf_state_key *sk, struct pf_state *s, int flags)
for (si = TAILQ_FIRST(&sk->states); si->s != s;
si = TAILQ_NEXT(si, entry));
-/* XXX DEBUG */ if (!si) { printf("pf_state_key_detach, si NULL\n"); }
-
TAILQ_REMOVE(&sk->states, si, entry);
pool_put(&pf_state_item_pl, si);