mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Remove extra zeroing after M_ZERO allocation.
This commit is contained in:
parent
51ee2c1cc6
commit
977c7043eb
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Reference in a new issue