Remove extra zeroing after M_ZERO allocation.

This commit is contained in:
Gleb Smirnoff 2013-08-02 13:06:49 +00:00
parent 51ee2c1cc6
commit 977c7043eb

View File

@ -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);