memory tier: remove unneeded disable_all_demotion_targets() when !CONFIG_MIGRATION

There's no caller of disable_all_demotion_targets() when CONFIG_MIGRATION
is disabled.  Remove it.

Link: https://lkml.kernel.org/r/20230606120724.208552-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
Miaohe Lin 2023-06-06 20:07:24 +08:00 committed by Andrew Morton
parent e5797dc011
commit e6c715abb4
1 changed files with 0 additions and 1 deletions

View File

@ -451,7 +451,6 @@ static void establish_demotion_targets(void)
}
#else
static inline void disable_all_demotion_targets(void) {}
static inline void establish_demotion_targets(void) {}
#endif /* CONFIG_MIGRATION */