mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
MFC r207475:
Remove a redundant variable assignment. Reviewed by: bz, rwatson
This commit is contained in:
parent
480d7c6c41
commit
ee17e64f2c
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue