From e98d6424afcbb92d6739df611515bf4ed9ee6d6e Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Mon, 10 Jun 2002 23:48:37 +0000 Subject: [PATCH] Every array elt is initialized in the following loop, so remove unnecessary M_ZERO. --- sys/netinet/tcp_syncache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index 30a3a9322831..40defbe8b4e2 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -237,7 +237,7 @@ syncache_init(void) /* Allocate the hash table. */ MALLOC(tcp_syncache.hashbase, struct syncache_head *, tcp_syncache.hashsize * sizeof(struct syncache_head), - M_SYNCACHE, M_WAITOK | M_ZERO); + M_SYNCACHE, M_WAITOK); /* Initialize the hash buckets. */ for (i = 0; i < tcp_syncache.hashsize; i++) {