MFC r277031

Remove dead code.

Reported by:	Coverity
CID:		748665
This commit is contained in:
tuexen 2015-05-29 12:08:49 +00:00
parent da3006cf8b
commit 6e1abed81c

View File

@ -1441,9 +1441,6 @@ sctp_findassociation_ep_addr(struct sctp_inpcb **inp_p, struct sockaddr *remote,
}
head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(rport,
inp->sctp_hashmark)];
if (head == NULL) {
goto null_return;
}
LIST_FOREACH(stcb, head, sctp_tcbhash) {
if (stcb->rport != rport) {
/* remote port does not match */