Remove a redundant check.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2018-07-30 17:58:41 +00:00
parent 164138e7d8
commit 4765717321
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336922

View File

@ -964,8 +964,6 @@ sbappendcontrol_locked(struct sockbuf *sb, struct mbuf *m0,
SOCKBUF_LOCK_ASSERT(sb);
if (control == NULL)
panic("sbappendcontrol_locked");
space = m_length(control, &n) + m_length(m0, NULL);
if (space > sbspace(sb))