]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/ksm: remove unused parameter from remove_trailing_rmap_items()
authorChengyang Fan <cy.fan@huawei.com>
Wed, 5 May 2021 01:37:48 +0000 (18:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 5 May 2021 18:27:25 +0000 (11:27 -0700)
commit420be4edefe503f8dbd6ab914b11a57a0d339660
treeb0b57d531889659aebf3756d1efd034d03925a5d
parentc89a384e2551c692a9fe60d093fd7080f50afc51
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: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c