* [patch 1/3] remove unused pgdat in sparsemem add_section
@ 2005-12-09 15:18 Matt Tolentino
0 siblings, 0 replies; only message in thread
From: Matt Tolentino @ 2005-12-09 15:18 UTC (permalink / raw)
To: ak, akpm; +Cc: apw, linux-kernel, matthew.e.tolentino
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-09 15:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-09 15:18 [patch 1/3] remove unused pgdat in sparsemem add_section Matt Tolentino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®