summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2003-02-20 18:22:21 +0000
committerjlemon <jlemon@FreeBSD.org>2003-02-20 18:22:21 +0000
commit26815368d422565cd6137e711438397d2e5bf47d (patch)
tree3f66fc7056a2268d76ad77b92a500d1830522c4b
parentf0e203a2b31723453835824518e568d0f0f5ede7 (diff)
downloadFreeBSD-src-26815368d422565cd6137e711438397d2e5bf47d.zip
FreeBSD-src-26815368d422565cd6137e711438397d2e5bf47d.tar.gz
Remove unused variables in the IPSEC case.
Submitted by: Lars Eggert <larse@ISI.EDU>
-rw-r--r--sys/netinet/ip_output.c1
-rw-r--r--sys/netinet6/ip6_output.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index c6cefc4..9877964 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -136,7 +136,6 @@ ip_output(m0, opt, ro, flags, imo, inp)
#ifdef IPSEC
struct route iproute;
struct secpolicy *sp = NULL;
- struct socket *so = inp ? inp->inp_socket : NULL;
#endif
#ifdef FAST_IPSEC
struct route iproute;
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 2b22088..b18f9a7 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -181,7 +181,6 @@ ip6_output(m0, opt, ro, flags, im6o, ifpp, inp)
#ifdef IPSEC
int needipsectun = 0;
struct secpolicy *sp = NULL;
- struct socket *so = inp ? inp->inp_socket : NULL;
ip6 = mtod(m, struct ip6_hdr *);
#endif /* IPSEC */
OpenPOWER on IntegriCloud