diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 26cb09521474c7284db13ec51d4520c25f18f082..9a77dab9b6061b2d4d7c60d78344f9ca539cf6e0 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -2659,7 +2659,6 @@ bool can_split_huge_page(struct page *page, int *pextra_pins) int split_huge_page_to_list(struct page *page, struct list_head *list) { struct page *head = compound_head(page); - struct pglist_data *pgdata = NODE_DATA(page_to_nid(head)); struct deferred_split *ds_queue = get_deferred_split_queue(page); struct anon_vma *anon_vma = NULL; struct address_space *mapping = NULL;