1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

filedesc: plug 2 assignments to M_ZERO-ed pointers in falloc_noinstall

No functional changes.
This commit is contained in:
Mateusz Guzik 2014-10-15 01:16:11 +00:00
parent d63e02ea96
commit 55056be254
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273111

View File

@ -1740,8 +1740,6 @@ falloc_noinstall(struct thread *td, struct file **resultfp)
refcount_init(&fp->f_count, 1);
fp->f_cred = crhold(td->td_ucred);
fp->f_ops = &badfileops;
fp->f_data = NULL;
fp->f_vnode = NULL;
*resultfp = fp;
return (0);
}