aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2014-10-15 01:16:11 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2014-10-15 01:16:11 +0000
commit55056be25481e74c5efb7243fffc1eb83db1e965 (patch)
tree057e4fe81d120061b710d5d7de893a34f723d135
parentd63e02ea968f06c8715e12f91082bb5c4a65c967 (diff)
Notes
-rw-r--r--sys/kern/kern_descrip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index c51a876feedf..bba7d31c2911 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -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);
}