Skip to content

Commit

Permalink
memcg: kill dead prev_priority stubs
Browse files Browse the repository at this point in the history
This code was removed in 25edde0 ("vmscan: kill prev_priority
completely")

Signed-off-by: Konstantin Khlebnikov <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
koct9i authored and torvalds committed Mar 22, 2012
1 parent b240285 commit a710920
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions include/linux/memcontrol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a710920

Please sign in to comment.