]> git.baikalelectronics.ru Git - kernel.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)
commitd8068fa225c5658e0809faafd2a3697d36cb42cb
treeb0b57d531889659aebf3756d1efd034d03925a5d
parentea7984ace26f27024316926c3274722ee065c57f
mm/ksm: remove unused parameter from remove_trailing_rmap_items()

Since commit c608bb443e14 ("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