mm/memory-failure.c: remove unnecessary PageTransTail check
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:44:33 +0000 (14:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:07 +0000 (15:57 -0700)
commitb04d3eebebf8372f83924db6c1e4fbdcab7cafc2
tree954d5bb64355f7c733b23d8065a10850cf3f8870
parent2ab916790ff0bbaac557dc1238f08237dd7799cc
mm/memory-failure.c: remove unnecessary PageTransTail check

When we reach here, we're guaranteed to have non-compound page as thp is
already splited.  Remove this unnecessary PageTransTail check.

Link: https://lkml.kernel.org/r/20220218090118.1105-9-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory-failure.c