]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/hugetlb: remove unused local variable dst_entry in copy_hugetlb_page_range()
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Mon, 22 Aug 2022 08:25:25 +0000 (10:25 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Aug 2022 05:02:56 +0000 (22:02 -0700)
commitde0fc2bb84b5276f77efbd5826475d15ddac2f7f
tree3815f3537053d4384d556e888529e7947352eafc
parent1f273ce07e47ca7b7520fd67de7668a360c5c122
mm/hugetlb: remove unused local variable dst_entry in copy_hugetlb_page_range()

Commit a0e4f7b82610 ("mm/hugetlb: make detecting shared pte more
reliable") modifies copy_hugetlb_page_range() such that
huge_ptep_get(dst_pte) and the local variable dst_entry is not used
explicitly in this function.

Remove this unused local variable dst_entry in copy_hugetlb_page_range().
No functional change.

Link: https://lkml.kernel.org/r/20220822082525.26071-1-lukas.bulwahn@gmail.com
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb.c