summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2010-09-15 21:08:57 +0000
committertuexen <tuexen@FreeBSD.org>2010-09-15 21:08:57 +0000
commitf431a31babb6f000b816e6b963b3812ac3866bcf (patch)
tree354ad90f0f2862f19e0563caeb257cd40a0826b4 /sys/netinet
parent0c5da4a1c0781323607b01db841f7b234f3909fe (diff)
downloadFreeBSD-src-f431a31babb6f000b816e6b963b3812ac3866bcf.zip
FreeBSD-src-f431a31babb6f000b816e6b963b3812ac3866bcf.tar.gz
Remove assignment without effect.
MFC after: 2 weeks.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp_sysctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c
index f4b9c77..50fbafd 100644
--- a/sys/netinet/sctp_sysctl.c
+++ b/sys/netinet/sctp_sysctl.c
@@ -200,8 +200,6 @@ copy_out_local_addresses(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct s
ipv6_addr_legal = 0;
}
- error = 0;
-
/* neither Mac OS X nor FreeBSD support mulitple routing functions */
if ((vrf = sctp_find_vrf(inp->def_vrf_id)) == NULL) {
SCTP_INP_RUNLOCK(inp);
OpenPOWER on IntegriCloud