diff options
| author | 2023-02-23 14:59:47 +0800 | |
|---|---|---|
| committer | 2023-03-28 16:20:06 -0700 | |
| commit | 12318566c5507a5ff4507d5bc5fe45895ffb0e05 (patch) | |
| tree | 001ee3b23ceeeedabf889e69a6df794de0fccdad /fs/exec.c | |
| parent | mailmap: add an entry for Leonard Crestez (diff) | |
| download | wireguard-linux-12318566c5507a5ff4507d5bc5fe45895ffb0e05.tar.xz wireguard-linux-12318566c5507a5ff4507d5bc5fe45895ffb0e05.zip | |
mm: hugetlb_vmemmap: simplify hugetlb_vmemmap_init() a bit
The check of IS_ENABLED(CONFIG_PROC_SYSCTL) is unnecessary since
register_sysctl_init() will be empty in this case. So, there is no
warnings after removing the check.
Link: https://lkml.kernel.org/r/20230223065947.64134-1-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions
