summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_forward.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2016-03-29 11:57:52 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2016-03-29 11:57:52 +0000
commitb7ea3b5102697b38950a3b2c6e97a1f03f7e727e (patch)
tree5c5b48ed5681e431c79798882d18e667202b03ad /sys/netinet6/ip6_forward.c
parent44156cfdc5a4f47d0d5aebc6f89f89e45adf9818 (diff)
remove dead stores and unused variables
ok bluhm@ jca@
Diffstat (limited to 'sys/netinet6/ip6_forward.c')
-rw-r--r--sys/netinet6/ip6_forward.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index 5f72bebaa29..3a837ff3703 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_forward.c,v 1.86 2015/11/02 07:22:28 mpi Exp $ */
+/* $OpenBSD: ip6_forward.c,v 1.87 2016/03/29 11:57:51 chl Exp $ */
/* $KAME: ip6_forward.c,v 1.75 2001/06/29 12:42:13 jinmei Exp $ */
/*
@@ -332,7 +332,6 @@ reroute:
}
if (m == NULL)
goto senderr;
- ip6 = mtod(m, struct ip6_hdr *);
/*
* PF_TAG_REROUTE handling or not...
* Packet is entering IPsec so the routing is