Remove unused variables in the IPSEC case.
Submitted by: Lars Eggert <larse@ISI.EDU>
This commit is contained in:
parent
f0e203a2b3
commit
26815368d4
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user