diff options
author | 2022-06-25 17:28:15 +0800 | |
---|---|---|
committer | 2022-07-03 18:08:51 -0700 | |
commit | 081c32564bac58365be53b905721c9ba2300819a (patch) | |
tree | 5f5cee3d85708f26eb89b508903a9c64f8ff5fd8 /mm/memcontrol.c | |
parent | mm/khugepaged: use helper macro __ATTR_RW (diff) | |
download | linux-rng-081c32564bac58365be53b905721c9ba2300819a.tar.xz linux-rng-081c32564bac58365be53b905721c9ba2300819a.zip |
mm/khugepaged: remove unneeded return value of khugepaged_add_pte_mapped_thp()
The return value of khugepaged_add_pte_mapped_thp() is always 0 and also
ignored. Remove it to clean up the code.
Link: https://lkml.kernel.org/r/20220625092816.4856-7-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Zach O'Keefe <zokeefe@google.com>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: NeilBrown <neilb@suse.de>
Cc: Peter Xu <peterx@redhat.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions