summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_pcb.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-11-28 20:48:35 +0000
committertuexen <tuexen@FreeBSD.org>2011-11-28 20:48:35 +0000
commit72bf877ee7fec77d840c6cdf8e327dfcbe244e6e (patch)
treea9dcadccc4f29838243851130c5198ff97816268 /sys/netinet/sctp_pcb.c
parentcfb0c71011ca15dae3818f9499404a6ef4f43460 (diff)
downloadFreeBSD-src-72bf877ee7fec77d840c6cdf8e327dfcbe244e6e.zip
FreeBSD-src-72bf877ee7fec77d840c6cdf8e327dfcbe244e6e.tar.gz
Remove debug code.
MFC after: 1 month.
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r--sys/netinet/sctp_pcb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index a960183..feff4f9 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -6895,11 +6895,6 @@ skip_vtag_check:
return (1);
}
-
-static sctp_assoc_t reneged_asoc_ids[256];
-static uint8_t reneged_at = 0;
-
-
static void
sctp_drain_mbufs(struct sctp_inpcb *inp, struct sctp_tcb *stcb)
{
@@ -7004,8 +6999,6 @@ sctp_drain_mbufs(struct sctp_inpcb *inp, struct sctp_tcb *stcb)
/* sa_ignore NO_NULL_CHK */
sctp_send_sack(stcb, SCTP_SO_NOT_LOCKED);
sctp_chunk_output(stcb->sctp_ep, stcb, SCTP_OUTPUT_FROM_DRAIN, SCTP_SO_NOT_LOCKED);
- reneged_asoc_ids[reneged_at] = sctp_get_associd(stcb);
- reneged_at++;
}
/*
* Another issue, in un-setting the TSN's in the mapping array we
OpenPOWER on IntegriCloud