Microoptimisation of code from r236560, also coming from Nginx Inc.
Submitted by: ru
This commit is contained in:
parent
df2b290f0d
commit
b0d113b96e
@ -2184,12 +2184,10 @@ retry_space:
|
||||
/* Append to mbuf chain. */
|
||||
if (mtail != NULL) {
|
||||
mtail->m_next = m0;
|
||||
} else {
|
||||
if (m != NULL)
|
||||
m_cat(m, m0);
|
||||
else
|
||||
m = m0;
|
||||
}
|
||||
} else if (m != NULL)
|
||||
m_last(m)->m_next = m0;
|
||||
else
|
||||
m = m0;
|
||||
mtail = m0;
|
||||
|
||||
/* Keep track of bits processed. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user