]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hugetlb: remove unnecessary nid initialization
authorNishanth Aravamudan <nacc@us.ibm.com>
Mon, 16 Jul 2007 06:38:02 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:35 +0000 (09:05 -0700)
commit31a5c6e4f25704f51f9a1373f0784034306d4cf1
tree873acb320c44558e831724088695d13110e1f093
parentf0c0b2b808f232741eadac272bd4bc51f18df0f4
hugetlb: remove unnecessary nid initialization

nid is initialized to numa_node_id() but will either be overwritten in
the loop or not used in the conditional. So remove the initialization.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c