lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4615DC61.6080606@freenet.de>
Date:	Fri, 06 Apr 2007 07:36:33 +0200
From:	Patrick Ringl <patrick_@...enet.de>
To:	linux-kernel@...r.kernel.org
CC:	christoph@...eter.com, torvalds@...ux-foundation.org
Subject: [PATCH 2.6.21-rc6] mm/page_alloc.c: removal of an unused definition
 of 'setup_n_node_ids'

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_@...enet.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



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ