Messages in this thread Patch in this message | | | Date | Fri, 9 Dec 2005 10:18:11 -0500 | From | Matt Tolentino <> | Subject | [patch 1/3] remove unused pgdat in sparsemem add_section |
| |
Trivial patch to remove an used variable in the __add_section function. Looks like pgdat updating was moved into a subfunction.
Signed-off-by: Matt Tolentino <matthew.e.tolentino@intel.com> ---
diff -urNp linux-2.6.15-rc5/mm/memory_hotplug.c linux-2.6.15-rc5-mt/mm/memory_hotplug.c --- linux-2.6.15-rc5/mm/memory_hotplug.c 2005-12-04 00:10:42.000000000 -0500 +++ linux-2.6.15-rc5-mt/mm/memory_hotplug.c 2005-12-08 15:41:46.000000000 -0500 @@ -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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |