From: Andy Whitcroft __add_section defines an unused pointer to the zones pgdat. Remove this definition. This fixes a compile warning. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton --- mm/memory_hotplug.c | 1 - 1 files changed, 1 deletion(-) diff -puN mm/memory_hotplug.c~memhotplug-__add_section-remove-unused-pgdat-definition mm/memory_hotplug.c --- 25/mm/memory_hotplug.c~memhotplug-__add_section-remove-unused-pgdat-definition Mon Nov 14 15:23:42 2005 +++ 25-akpm/mm/memory_hotplug.c Mon Nov 14 15:23:42 2005 @@ -42,7 +42,6 @@ extern int sparse_add_one_section(struct int nr_pages); static int __add_section(struct zone *zone, unsigned long phys_start_pfn) { - struct pglist_data *pgdat = zone->zone_pgdat; int nr_pages = PAGES_PER_SECTION; int ret; _