summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2010-01-14 20:43:20 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2010-01-14 20:43:20 +0000
commitba89a44ca53037b6cde75ba03270161dd0e3aa37 (patch)
treee54d03c6116e6e5c4956ded4ffa6e619dfadc798 /sys/net
parent720759a5c3ed6c89c218afc936437c9f9ca9d533 (diff)
henning and I are both dumbasses, testing &foo against NULL is pointless.
ok claudio
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 606305fac98..1ab9d27f346 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.687 2010/01/14 01:19:46 mcbride Exp $ */
+/* $OpenBSD: pf.c,v 1.688 2010/01/14 20:43:19 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -788,7 +788,7 @@ pf_state_key_detach(struct pf_state *s, int idx)
{
struct pf_state_item *si;
- if (&s->key[idx] == NULL)
+ if (s->key[idx] == NULL)
return;
si = TAILQ_FIRST(&s->key[idx]->states);