From 26815368d422565cd6137e711438397d2e5bf47d Mon Sep 17 00:00:00 2001 From: jlemon Date: Thu, 20 Feb 2003 18:22:21 +0000 Subject: [PATCH] Remove unused variables in the IPSEC case. Submitted by: Lars Eggert --- sys/netinet/ip_output.c | 1 - sys/netinet6/ip6_output.c | 1 - 2 files changed, 2 deletions(-) diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index c6cefc4c19cb..9877964b809c 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 2b22088e357a..b18f9a72e5c7 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 */