Skip to content

Commit 34fa1fc

Browse files
Yaowei Baisfrothwell
authored andcommitted
include/linux/mmzone.h: remove unused is_unevictable_lru()
Since commit a0b8cab ("mm: remove lru parameter from __pagevec_lru_add and remove parts of pagevec API") there's no user of this function anymore, so remove it. Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent f7e2bc7 commit 34fa1fc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/linux/mmzone.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,6 @@ static inline int is_active_lru(enum lru_list lru)
195195
return (lru == LRU_ACTIVE_ANON || lru == LRU_ACTIVE_FILE);
196196
}
197197

198-
static inline int is_unevictable_lru(enum lru_list lru)
199-
{
200-
return (lru == LRU_UNEVICTABLE);
201-
}
202-
203198
struct zone_reclaim_stat {
204199
/*
205200
* The pageout code in vmscan.c keeps track of how many of the

0 commit comments

Comments
 (0)