mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
We don't need to clear allocated memory. This will speed-up things a bit.
MFC after: 3 days
This commit is contained in:
parent
103d2a4254
commit
2be2b2eab5
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ g_eli_crypto_run(struct g_eli_worker *wr, struct bio *bp)
|
|||
*/
|
||||
if (bp->bio_cmd == BIO_WRITE)
|
||||
size += bp->bio_length;
|
||||
p = malloc(size, M_ELI, M_NOWAIT | M_ZERO);
|
||||
p = malloc(size, M_ELI, M_NOWAIT);
|
||||
if (p == NULL)
|
||||
return (ENOMEM);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue