Commit b224ef85 authored by Kautuk Consul's avatar Kautuk Consul Committed by Linus Torvalds
Browse files

page_alloc: remove unused find_zone_movable_pfns_for_nodes() argument



find_zone_movable_pfns_for_nodes() does not use its argument.

Signed-off-by: default avatarKautuk Consul <consul.kautuk@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8d13bddd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4524,7 +4524,7 @@ static unsigned long __init early_calculate_totalpages(void)
 * memory. When they don't, some nodes will have more kernelcore than
 * others
 */
static void __init find_zone_movable_pfns_for_nodes(unsigned long *movable_pfn)
static void __init find_zone_movable_pfns_for_nodes(void)
{
	int i, nid;
	unsigned long usable_startpfn;
@@ -4716,7 +4716,7 @@ void __init free_area_init_nodes(unsigned long *max_zone_pfn)

	/* Find the PFNs that ZONE_MOVABLE begins at in each node */
	memset(zone_movable_pfn, 0, sizeof(zone_movable_pfn));
	find_zone_movable_pfns_for_nodes(zone_movable_pfn);
	find_zone_movable_pfns_for_nodes();

	/* Print out the zone ranges */
	printk("Zone PFN ranges:\n");