Every array elt is initialized in the following loop, so remove
unnecessary M_ZERO.
This commit is contained in:
parent
6fc8ba94c6
commit
e98d6424af
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user