diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-11-25 18:04:45 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-11-25 18:04:45 +0000 |
commit | f41ee523bf784d4e8fb513e2beb95047bf92f6ee (patch) | |
tree | a59f11b9b9abba2072a1f5b4ee79095d0bff5e7c /sys/netinet | |
parent | 3886d493c0f11a9fc071a0cac91cd3e017e632b2 (diff) |
Remove unneeded branch, no need to check if opts is != NULL just set it to
NULL in any case.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/raw_ip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 83279f8cb0c..c06aa1bc0ea 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip.c,v 1.39 2006/05/29 20:42:27 claudio Exp $ */ +/* $OpenBSD: raw_ip.c,v 1.40 2006/11/25 18:04:44 claudio Exp $ */ /* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */ /* @@ -151,8 +151,7 @@ rip_input(struct mbuf *m, ...) m_freem(opts); } else sorwakeup(last->inp_socket); - if (opts) - opts = NULL; + opts = NULL; } } last = inp; |