From aca0d1e392afed445b0dadc0367b3b736c46f7b4 Mon Sep 17 00:00:00 2001 From: tuexen Date: Sun, 3 Jun 2012 18:14:57 +0000 Subject: Remove code which is not needed. MFC after: 3 days --- sys/netinet/sctp_pcb.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sys/netinet/sctp_pcb.c') diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index aa72847..22bdb66 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -2187,8 +2187,6 @@ sctp_findassociation_addr(struct mbuf *m, int offset, from6->sin6_addr = ip6->ip6_src; from6->sin6_port = sh->src_port; /* Get the scopes in properly to the sin6 addr's */ - /* we probably don't need these operations */ - (void)sa6_recoverscope(from6); sa6_embedscope(from6, MODULE_GLOBAL(ip6_use_defzone)); break; } @@ -2230,8 +2228,6 @@ sctp_findassociation_addr(struct mbuf *m, int offset, to6->sin6_addr = ip6->ip6_dst; to6->sin6_port = sh->dest_port; /* Get the scopes in properly to the sin6 addr's */ - /* we probably don't need these operations */ - (void)sa6_recoverscope(to6); sa6_embedscope(to6, MODULE_GLOBAL(ip6_use_defzone)); break; } -- cgit v1.1