Every array elt is initialized in the following loop, so remove

unnecessary M_ZERO.
This commit is contained in:
Jeffrey Hsu 2002-06-10 23:48:37 +00:00
parent 6fc8ba94c6
commit e98d6424af

View File

@ -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++) {