mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
sctp: remove redundant check
This is already checked by the caller. MFC after: 1 week
This commit is contained in:
parent
1d7ffb373c
commit
e3771cc034
1 changed files with 0 additions and 3 deletions
|
|
@ -3655,9 +3655,6 @@ sctp_notify_partial_delivery_indication(struct sctp_tcb *stcb, uint32_t error,
|
|||
/* event not enabled */
|
||||
return;
|
||||
}
|
||||
if (stcb->sctp_ep->sctp_flags & SCTP_PCB_FLAGS_SOCKET_CANT_READ) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_notify = sctp_get_mbuf_for_msg(sizeof(struct sctp_pdapi_event), 0, M_NOWAIT, 1, MT_DATA);
|
||||
if (m_notify == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue