1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-06 13:09:50 +00:00

Remove superfluous m_pkthdr.rcv_if = NULL assignment following

m_gethdr() mbuf allocation, which already does this for us.
This commit is contained in:
Bosko Milekic 2001-02-25 06:33:50 +00:00
parent 02318dac2c
commit 096e2dd9d8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73012

View File

@ -75,7 +75,6 @@ mb_init(struct mbchain *mbp)
m = m_gethdr(M_TRYWAIT, MT_DATA);
if (m == NULL)
return ENOBUFS;
m->m_pkthdr.rcvif = NULL;
m->m_len = 0;
mb_initm(mbp, m);
return 0;
@ -308,7 +307,6 @@ md_init(struct mdchain *mdp)
m = m_gethdr(M_TRYWAIT, MT_DATA);
if (m == NULL)
return ENOBUFS;
m->m_pkthdr.rcvif = NULL;
m->m_len = 0;
md_initm(mdp, m);
return 0;