memory tier: remove unneeded disable_all_demotion_targets() when !CONFIG_MIGRATION
Commit Message
There's no caller of disable_all_demotion_targets() when CONFIG_MIGRATION
is disabled. Remove it.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
mm/memory-tiers.c | 1 -
1 file changed, 1 deletion(-)
@@ -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 */