summaryrefslogtreecommitdiff
path: root/sys/netinet6/icmp6.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-07-26 12:59:18 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-07-26 12:59:18 +0000
commit2911b3f64e9bb73d342a4c8c5f0999c2ddba79cb (patch)
tree14e741a6d29190488e5e58868c32a41a595d5731 /sys/netinet6/icmp6.c
parent9d7adcc68d696be005aa775aefe71538f3e82a63 (diff)
no need to cast the return value of m_freem() to void
as its a void function. ok claudio@
Diffstat (limited to 'sys/netinet6/icmp6.c')
-rw-r--r--sys/netinet6/icmp6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 7453fe1e7b0..15fbdc608ce 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.105 2009/06/05 00:05:22 claudio Exp $ */
+/* $OpenBSD: icmp6.c,v 1.106 2009/07/26 12:59:17 thib Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@@ -2680,7 +2680,7 @@ icmp6_ctloutput(int op, struct socket *so, int level, int optname,
break;
}
if (m)
- (void)m_freem(m);
+ m_freem(m);
break;
case PRCO_GETOPT: