Fix CID 168561.
@@ -824,10 +824,6 @@ sctp_get_mbuf_for_msg(unsigned int space_needed, int want_header,
if ((int)space_needed > (((mbuf_threshold - 1) * MLEN) + MHLEN)) {
MCLGET(m, how);
- if (m == NULL) {
- return (NULL);
- }
-
if (SCTP_BUF_IS_EXTENDED(m) == 0) {
sctp_m_freem(m);
return (NULL);
