[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1447656686-4851-6-git-send-email-baiyaowei@cmss.chinamobile.com>
Date: Mon, 16 Nov 2015 14:51:24 +0800
From: Yaowei Bai <baiyaowei@...s.chinamobile.com>
To: akpm@...ux-foundation.org
Cc: bhe@...hat.com, dan.j.williams@...el.com,
dave.hansen@...ux.intel.com, dave@...olabs.net,
dhowells@...hat.com, dingel@...ux.vnet.ibm.com, hannes@...xchg.org,
hillf.zj@...baba-inc.com, holt@....com, iamjoonsoo.kim@....com,
joe@...ches.com, kuleshovmail@...il.com, mgorman@...e.de,
mhocko@...e.cz, mike.kravetz@...cle.com, n-horiguchi@...jp.nec.com,
penberg@...nel.org, rientjes@...gle.com, sasha.levin@...cle.com,
tj@...nel.org, tony.luck@...el.com, vbabka@...e.cz,
vdavydov@...allels.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function
Since commit a0b8cab3 ("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@...s.chinamobile.com>
---
include/linux/mmzone.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index e23a9e7..9963846 100644
--- 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
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists