summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_pcb.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2012-06-03 18:14:57 +0000
committertuexen <tuexen@FreeBSD.org>2012-06-03 18:14:57 +0000
commitaca0d1e392afed445b0dadc0367b3b736c46f7b4 (patch)
tree60306f80bb73afd83ad33c982ad7438a55b84d28 /sys/netinet/sctp_pcb.c
parent472101ae888fef815b6f37bfc5c1651d953264c0 (diff)
downloadFreeBSD-src-aca0d1e392afed445b0dadc0367b3b736c46f7b4.zip
FreeBSD-src-aca0d1e392afed445b0dadc0367b3b736c46f7b4.tar.gz
Remove code which is not needed.
MFC after: 3 days
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r--sys/netinet/sctp_pcb.c4
1 files changed, 0 insertions, 4 deletions
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;
}
OpenPOWER on IntegriCloud