mm/memory-failure.c: remove unnecessary PageTransTail check
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 28 Feb 2022 23:01:11 +0000 (10:01 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:01:11 +0000 (10:01 +1100)
commitd24df01ec99d71e827085735f34edc15c5b9d8ed
tree225adca6f2ecb5a0972b25eda2a65ec2a085f164
parentbc93a8c6228253baf19584a85198d65e1d755338
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: Stephen Rothwell <sfr@canb.auug.org.au>
mm/memory-failure.c