lkml.org 
[lkml]   [2005]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-12-09 16:21    [W:0.032 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site