Remove extra zeroing after M_ZERO allocation.
This commit is contained in:
parent
51ee2c1cc6
commit
977c7043eb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user