diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 70ecc1538499..f94c673f1e19 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -3198,8 +3198,6 @@ void __init hugetlb_add_hstate(unsigned int order) h = &hstates[hugetlb_max_hstate++]; h->order = order; h->mask = ~((1ULL << (order + PAGE_SHIFT)) - 1); - h->nr_huge_pages = 0; - h->free_huge_pages = 0; for (i = 0; i < MAX_NUMNODES; ++i) INIT_LIST_HEAD(&h->hugepage_freelists[i]); INIT_LIST_HEAD(&h->hugepage_activelist);