diff options
author | glebius <glebius@FreeBSD.org> | 2013-08-02 13:06:49 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-08-02 13:06:49 +0000 |
commit | 7eacd3a0af787b4bf4f765697081bcd408881d12 (patch) | |
tree | b435aaa769bb7a348dc217bf1588a66c96301c26 /sys/kern/vfs_aio.c | |
parent | ff765cb371f120bb1d6e648a2418a7c9e3f223b2 (diff) | |
download | FreeBSD-src-7eacd3a0af787b4bf4f765697081bcd408881d12.zip FreeBSD-src-7eacd3a0af787b4bf4f765697081bcd408881d12.tar.gz |
Remove extra zeroing after M_ZERO allocation.
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 862443c..f732d31 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -1595,8 +1595,6 @@ aio_aqueue(struct thread *td, struct aiocb *job, struct aioliojob *lj, } aiocbe = uma_zalloc(aiocb_zone, M_WAITOK | M_ZERO); - aiocbe->inputcharge = 0; - aiocbe->outputcharge = 0; knlist_init_mtx(&aiocbe->klist, AIO_MTX(ki)); error = ops->copyin(job, &aiocbe->uaiocb); |