diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index ed4f88f081f..70f217a9128 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -212,7 +212,6 @@ in_pcballoc(struct socket *so, struct inpcbinfo *pcbinfo) mac_inpcb_create(so, inp); SOCK_UNLOCK(so); #endif - #ifdef IPSEC error = ipsec_init_policy(so, &inp->inp_sp); if (error != 0) { @@ -239,7 +238,6 @@ in_pcballoc(struct socket *so, struct inpcbinfo *pcbinfo) INP_WLOCK(inp); inp->inp_gencnt = ++pcbinfo->ipi_gencnt; inp->inp_refcount = 1; /* Reference from the inpcbinfo */ - #if defined(IPSEC) || defined(MAC) out: if (error != 0) {