Space and style(9) corrections for recent mbuf changes.

This commit is contained in:
Gleb Smirnoff 2016-03-24 20:06:52 +00:00
parent dae2d550d6
commit c8f59118be
2 changed files with 8 additions and 6 deletions

View File

@ -939,8 +939,8 @@ m_extadd(struct mbuf *mb, caddr_t buf, u_int size,
void
m_freem(struct mbuf *mb)
{
MBUF_PROBE1(m__freem, mb);
MBUF_PROBE1(m__freem, mb);
while (mb != NULL)
mb = m_free(mb);
}

View File

@ -690,7 +690,7 @@ m_getzone(int size)
static __inline int
m_init(struct mbuf *m, int how, short type, int flags)
{
int error = 0;
int error;
m->m_next = NULL;
m->m_nextpkt = NULL;
@ -700,6 +700,8 @@ m_init(struct mbuf *m, int how, short type, int flags)
m->m_type = type;
if (flags & M_PKTHDR)
error = m_pkthdr_init(m, how);
else
error = 0;
MBUF_PROBE5(m__init, m, how, type, flags, error);
return (error);