mm/thp: remove redundant CONFIG_TRANSPARENT_HUGEPAGE
authorLiu Shixin <liushixin2@huawei.com>
Mon, 29 Aug 2022 09:51:25 +0000 (17:51 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 Sep 2022 03:26:05 +0000 (20:26 -0700)
commitbcd0dea5f4fb3d098b03ef3064fe6c8201d7c515
tree60ccf84e106cacdec0ef49ada064bf03157fa567
parenta38c94ed59fc312b51a33d867444ce73c6805ff6
mm/thp: remove redundant CONFIG_TRANSPARENT_HUGEPAGE

Simplify code by removing redundant CONFIG_TRANSPARENT_HUGEPAGE judgment.

No functional change.

Link: https://lkml.kernel.org/r/20220829095125.3284567-1-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pgtable.h