mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
remove dead code
Noticed by: Coverity Prevent analysis tool Reviewed by: silby
This commit is contained in:
parent
15ecf3968d
commit
9d8993bbc5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142325
@ -1194,8 +1194,6 @@ m_defrag(struct mbuf *m0, int how)
|
||||
#ifdef MBUF_STRESS_TEST
|
||||
m_defragfailure++;
|
||||
#endif
|
||||
if (m_new)
|
||||
m_free(m_new);
|
||||
if (m_final)
|
||||
m_freem(m_final);
|
||||
return (NULL);
|
||||
@ -1275,8 +1273,6 @@ m_fragment(struct mbuf *m0, int how, int length)
|
||||
m0 = m_final;
|
||||
return (m0);
|
||||
nospace:
|
||||
if (m_new)
|
||||
m_free(m_new);
|
||||
if (m_final)
|
||||
m_freem(m_final);
|
||||
/* Return the original chain on failure */
|
||||
|
Loading…
Reference in New Issue
Block a user