From: Patrick Ringl <patrick_@freenet.de>
To: linux-kernel@vger.kernel.org
Cc: christoph@lameter.com, torvalds@linux-foundation.org
Subject: [PATCH 2.6.21-rc6] mm/page_alloc.c: removal of an unused definition of 'setup_n_node_ids'
Date: Fri, 06 Apr 2007 07:36:33 +0200 [thread overview]
Message-ID: <4615DC61.6080606@freenet.de> (raw)
Remove an empty and thus unused definition of 'setup_nr_node_ids' (in
case of MAX_NUMNODES < 1) in order to resolve a compiler warning.
Signed-off-by: Patrick Ringl <patrick_@freenet.de>
---
--- linux-2.6.20-o/mm/page_alloc.c 2007-03-22 23:11:25.000000000 +0100
+++ linux-2.6.20/mm/page_alloc.c 2007-04-06 07:19:38.000000000 +0200
@@ -680,8 +680,6 @@ static void __init setup_nr_node_ids(voi
highest = node;
nr_node_ids = highest + 1;
}
-#else
-static void __init setup_nr_node_ids(void) {}
#endif
#ifdef CONFIG_NUMA
next reply other threads:[~2007-04-06 5:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-06 5:36 Patrick Ringl [this message]
2007-04-06 6:30 ` Christoph Lameter
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=4615DC61.6080606@freenet.de \
--to=patrick_@freenet.de \
--cc=christoph@lameter.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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®