]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/ksm: remove unused parameter from remove_trailing_rmap_items()
authorChengyang Fan <cy.fan@huawei.com>
Tue, 13 Apr 2021 22:20:55 +0000 (08:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Apr 2021 22:20:55 +0000 (08:20 +1000)
commitcdcfce4b97b7f12c61f7328d44febf6c45bd79c3
tree4a8f9a00676a9668206dd477c18a83383f283c9e
parent35c6eddac352225bc970342904e2aea0e7fc3d76
mm/ksm: remove unused parameter from remove_trailing_rmap_items()

Since commit 6514d511dbe5 ("ksm: singly-linked rmap_list") was merged,
remove_trailing_rmap_items() doesn't use the 'mm_slot' parameter.  So
remove it, and update caller accordingly.

Link: https://lkml.kernel.org/r/20210330121320.1693474-1-cy.fan@huawei.com
Signed-off-by: Chengyang Fan <cy.fan@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/ksm.c