powerpc/mm: Code cleanup for __hash_page_thp
authorKunwu Chan <chentao@kylinos.cn>
Fri, 1 Mar 2024 08:58:34 +0000 (16:58 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Mar 2024 12:05:21 +0000 (23:05 +1100)
commitd9cf600ecb7b053345aa76c1988cf374260cfdaf
tree7c9a896027abe3d849d163c3c8d80cc4d7dcf3ab
parentad86d7ee43b22aa2ed60fb982ae94b285c1be671
powerpc/mm: Code cleanup for __hash_page_thp

This part was commented from commit 6d492ecc6489
("powerpc/THP: Add code to handle HPTE faults for hugepages")
in about 11 years before.

If there are no plans to enable this part code in the future,
we can remove this dead code and replace with a comment
explaining what the dead code was trying to say.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Suggested-by: "Aneesh Kumar K.V" <aneesh.kumar@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240301085834.1512921-1-chentao@kylinos.cn
arch/powerpc/mm/book3s64/hash_hugepage.c