mm/sparse: make mminit_validate_memmodel_limits() static
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 28 Feb 2022 23:00:45 +0000 (10:00 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 28 Feb 2022 23:00:45 +0000 (10:00 +1100)
commiteb39a52824b251a808d6f1c440a0da78ba5a5e4d
tree18dbb6d73b7306dae3cf7bc0af50852e4d5f75ea
parent3413dbcc8c5fe52a14283074744e01693ee8224d
mm/sparse: make mminit_validate_memmodel_limits() static

It's only used in the sparse.c now. So we can make it static and further
clean up the relevant code.

Link: https://lkml.kernel.org/r/20220127093221.63524-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/internal.h
mm/sparse.c