summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_usrreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
-rw-r--r--sys/netinet/sctp_usrreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c
index 95762b8..58e7616 100644
--- a/sys/netinet/sctp_usrreq.c
+++ b/sys/netinet/sctp_usrreq.c
@@ -1733,7 +1733,6 @@ sctp_do_connect_x(struct socket *so,
stcb = sctp_aloc_assoc(inp, sa, 1, &error, 0);
if (stcb == NULL) {
/* Gak! no memory */
- error = ENOMEM;
goto out_now;
}
/* move to second address */
OpenPOWER on IntegriCloud