We don't need to clear allocated memory. This will speed-up things a bit.

MFC after:	3 days
This commit is contained in:
pjd 2005-08-17 14:08:50 +00:00
parent 0425964369
commit 8e698f8cb4

View File

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