[PATCH 1/4] __add_section remove unused pgdat definition

From: Andy Whitcroft
Date: Mon Nov 14 2005 - 14:38:14 EST


__add_section defines an unused pointer to the zones pgdat. Remove
this definition. This fixes a compile warning.

Signed-off-by: Andy Whitcroft <apw@xxxxxxxxxxxx>
---
memory_hotplug.c | 1 -
1 file changed, 1 deletion(-)
diff -upN reference/mm/memory_hotplug.c current/mm/memory_hotplug.c
--- reference/mm/memory_hotplug.c
+++ current/mm/memory_hotplug.c
@@ -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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/