From 8e698f8cb48a2bba376f86e8e8ac3d21239ece33 Mon Sep 17 00:00:00 2001 From: pjd Date: Wed, 17 Aug 2005 14:08:50 +0000 Subject: 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(-) (limited to 'sys/geom') diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c index f57aa38..575c63e 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); -- cgit v1.1