From: Konstantin Khlebnikov Date: Wed, 21 Mar 2012 23:34:22 +0000 (-0700) Subject: memcg: kill dead prev_priority stubs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a710920caedfcf56543136bfea300a6c593f9838;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git memcg: kill dead prev_priority stubs This code was removed in 25edde033291 ("vmscan: kill prev_priority completely") Signed-off-by: Konstantin Khlebnikov Acked-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index e76f10731a86..c54e5dfa1962 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h @@ -299,21 +299,6 @@ static inline void mem_cgroup_iter_break(struct mem_cgroup *root, { } -static inline int mem_cgroup_get_reclaim_priority(struct mem_cgroup *memcg) -{ - return 0; -} - -static inline void mem_cgroup_note_reclaim_priority(struct mem_cgroup *memcg, - int priority) -{ -} - -static inline void mem_cgroup_record_reclaim_priority(struct mem_cgroup *memcg, - int priority) -{ -} - static inline bool mem_cgroup_disabled(void) { return true;