summaryrefslogtreecommitdiff
path: root/mm/interval_tree.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2021-07-01 04:50:33 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-07-01 06:47:28 +0300
commit767cc6c5568afa50ef6abbd4efb61beee56f9cc8 (patch)
tree785dd2379bed2b8573049cef2b58f8f3146ee3eb /mm/interval_tree.c
parente891f60e28c3e90e2589a7d2147ae192dca11245 (diff)
downloadlinux-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