summaryrefslogtreecommitdiff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-07-16 11:18:16 +0300
committerakpm <akpm@linux-foundation.org>2022-07-30 04:07:16 +0300
commit4d8ff64097092701a5e5506d0d7f643d421e0432 (patch)
treef374e62e158efea14eb624205f490f9893e6e768 /mm/page_alloc.c
parent9b7a4039d6856f66521486da68c76838929039eb (diff)
downloadlinux-4d8ff64097092701a5e5506d0d7f643d421e0432.tar.xz
mm: remove unneeded PageAnon check in restore_exclusive_pte()
When code reaches here, the page must be !PageAnon. There's no need to check PageAnon again. Remove it. Link: https://lkml.kernel.org/r/20220716081816.10752-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions