From: Matt Tolentino <metolent@cs.vt.edu>
To: ak@muc.de, akpm@osdl.org
Cc: apw@shadowen.org, linux-kernel@vger.kernel.org,
matthew.e.tolentino@intel.com
Subject: [patch 1/3] remove unused pgdat in sparsemem add_section
Date: Fri, 9 Dec 2005 10:18:11 -0500 [thread overview]
Message-ID: <200512091518.jB9FIBTk006637@ap1.cs.vt.edu> (raw)
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;
reply other threads:[~2005-12-09 15:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200512091518.jB9FIBTk006637@ap1.cs.vt.edu \
--to=metolent@cs.vt.edu \
--cc=ak@muc.de \
--cc=akpm@osdl.org \
--cc=apw@shadowen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.e.tolentino@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®