Author: markj
Date: Thu Aug  2 15:16:59 2018
New Revision: 337132
URL: https://svnweb.freebsd.org/changeset/base/337132

Log:
  MFC r336922:
  Remove a redundant check.

Modified:
  stable/11/sys/kern/uipc_sockbuf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/uipc_sockbuf.c
==============================================================================
--- stable/11/sys/kern/uipc_sockbuf.c   Thu Aug  2 12:43:40 2018        
(r337131)
+++ stable/11/sys/kern/uipc_sockbuf.c   Thu Aug  2 15:16:59 2018        
(r337132)
@@ -897,8 +897,6 @@ sbappendcontrol_locked(struct sockbuf *sb, struct mbuf
 
        SOCKBUF_LOCK_ASSERT(sb);
 
-       if (control == NULL)
-               panic("sbappendcontrol_locked");
        space = m_length(control, &n) + m_length(m0, NULL);
 
        if (space > sbspace(sb))
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to