MFC r277031
Remove dead code. Reported by: Coverity CID: 748665
This commit is contained in:
parent
da3006cf8b
commit
6e1abed81c
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user