diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-03-21 19:34:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-21 20:55:01 -0400 |
commit | a710920caedfcf56543136bfea300a6c593f9838 (patch) | |
tree | 47546c076b45b8b6b82c4f6b47906a480a00b24f /include/linux/memcontrol.h | |
parent | b24028572fb69e9dd6de8c359eba2b2c66baa889 (diff) |
memcg: kill dead prev_priority stubs
This code was removed in 25edde033291 ("vmscan: kill prev_priority
completely")
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/memcontrol.h')
-rw-r--r-- | include/linux/memcontrol.h | 15 |
1 files changed, 0 insertions, 15 deletions
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, | |||
299 | { | 299 | { |
300 | } | 300 | } |
301 | 301 | ||
302 | static inline int mem_cgroup_get_reclaim_priority(struct mem_cgroup *memcg) | ||
303 | { | ||
304 | return 0; | ||
305 | } | ||
306 | |||
307 | static inline void mem_cgroup_note_reclaim_priority(struct mem_cgroup *memcg, | ||
308 | int priority) | ||
309 | { | ||
310 | } | ||
311 | |||
312 | static inline void mem_cgroup_record_reclaim_priority(struct mem_cgroup *memcg, | ||
313 | int priority) | ||
314 | { | ||
315 | } | ||
316 | |||
317 | static inline bool mem_cgroup_disabled(void) | 302 | static inline bool mem_cgroup_disabled(void) |
318 | { | 303 | { |
319 | return true; | 304 | return true; |