projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ad0c7
)
include/linux/mmzone.h: remove unused is_unevictable_lru()
author
Yaowei Bai
<
[email protected]
>
Thu, 14 Jan 2016 23:18:57 +0000
(15:18 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 15 Jan 2016 00:00:49 +0000
(16:00 -0800)
Since commit
a0b8cab3b9b2
("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 <
[email protected]
>
Acked-by: Michal Hocko <
[email protected]
>
Acked-by: Hillf Danton <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/mmzone.h
patch
|
blob
|
history
diff --git
a/include/linux/mmzone.h
b/include/linux/mmzone.h
index e23a9e704536278dad66bc5e5d1f9f798036b8be..996384672c7327ab13da16aa1b2e6e291d32e949 100644
(file)
--- a/
include/linux/mmzone.h
+++ b/
include/linux/mmzone.h
@@
-195,11
+195,6
@@
static inline int is_active_lru(enum lru_list lru)
return (lru == LRU_ACTIVE_ANON || lru == LRU_ACTIVE_FILE);
}
-static inline int is_unevictable_lru(enum lru_list lru)
-{
- return (lru == LRU_UNEVICTABLE);
-}
-
struct zone_reclaim_stat {
/*
* The pageout code in vmscan.c keeps track of how many of the