diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2021-07-01 04:50:33 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-01 06:47:28 +0300 |
commit | 767cc6c5568afa50ef6abbd4efb61beee56f9cc8 (patch) | |
tree | 785dd2379bed2b8573049cef2b58f8f3146ee3eb /mm/interval_tree.c | |
parent | e891f60e28c3e90e2589a7d2147ae192dca11245 (diff) | |
download | linux-767cc6c5568afa50ef6abbd4efb61beee56f9cc8.tar.xz |
mm/z3fold: remove unused function handle_to_z3fold_header()
handle_to_z3fold_header() is unused now. So we can remove it. As a
result, get_z3fold_header() becomes the only caller of
__get_z3fold_header() and the argument lock is always true. Therefore we
could further fold the __get_z3fold_header() into get_z3fold_header() with
lock = true.
Link: https://lkml.kernel.org/r/20210619093151.1492174-5-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Vitaly Wool <vitaly.wool@konsulko.com>
Cc: Hillf Danton <hdanton@sina.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/interval_tree.c')
0 files changed, 0 insertions, 0 deletions