Remove a redundant variable assignment.
Reviewed by: bz, rwatson MFC after: 3 days
This commit is contained in:
parent
a932985f50
commit
a83baab6e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=207475
@ -948,9 +948,8 @@ m_adj(struct mbuf *mp, int req_len)
|
||||
len = 0;
|
||||
}
|
||||
}
|
||||
m = mp;
|
||||
if (mp->m_flags & M_PKTHDR)
|
||||
m->m_pkthdr.len -= (req_len - len);
|
||||
mp->m_pkthdr.len -= (req_len - len);
|
||||
} else {
|
||||
/*
|
||||
* Trim from tail. Scan the mbuf chain,
|
||||
|
Loading…
Reference in New Issue
Block a user