From 2be2b2eab5f907cd6cab2bc2a3aa7470e60d730c Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 17 Aug 2005 14:08:50 +0000 Subject: [PATCH] We don't need to clear allocated memory. This will speed-up things a bit. MFC after: 3 days --- sys/geom/eli/g_eli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c index f57aa380e2d..575c63ea5bd 100644 --- a/sys/geom/eli/g_eli.c +++ b/sys/geom/eli/g_eli.c @@ -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);