From: Johannes Weiner Date: Thu, 24 Jul 2008 04:27:20 +0000 (-0700) Subject: mm: drop unneeded pgdat argument from free_area_init_node() X-Git-Tag: v2.6.27-rc1~814 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9109fb7b3520de187ebc3646c209d66a233f7169;p=pandora-kernel.git mm: drop unneeded pgdat argument from free_area_init_node() free_area_init_node() gets passed in the node id as well as the node descriptor. This is redundant as the function can trivially get the node descriptor itself by means of NODE_DATA() and the node's id. I checked all the users and NODE_DATA() seems to be usable everywhere from where this function is called. Signed-off-by: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed