mm/page_alloc: don't pass pfn to free_unref_page_commit()
authorNicolas Saenz Julienne <nsaenzju@redhat.com>
Tue, 22 Mar 2022 21:43:14 +0000 (14:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:05 +0000 (15:57 -0700)
commit566513775dca7f0d4ba15da4bc8394cdb2c98829
tree8769f3b499baece710a52e77aeb32d8cd09a229d
parent7f37e49cbd60ef71b82d25cd55b039a65d06387c
mm/page_alloc: don't pass pfn to free_unref_page_commit()

free_unref_page_commit() doesn't make use of its pfn argument, so get
rid of it.

Link: https://lkml.kernel.org/r/20220202140451.415928-1-nsaenzju@redhat.com
Signed-off-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c