From: Vladimir Davydov Date: Mon, 16 Dec 2013 23:45:10 +0000 (+1100) Subject: memcg: make memcg_update_cache_sizes() static X-Git-Tag: next-20131220~2^2~158 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50feada97602885353056fd411a894fc0d12975a;p=karo-tx-linux.git memcg: make memcg_update_cache_sizes() static This function is not used outside of memcontrol.c so make it static. Signed-off-by: Vladimir Davydov Cc: Johannes Weiner Acked-by: Michal Hocko Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 543167ae9934..50f4c765d2a3 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -3087,7 +3087,7 @@ int memcg_cache_id(struct mem_cgroup *memcg) * But when we create a new cache, we can call this as well if its parent * is kmem-limited. That will have to hold set_limit_mutex as well. */ -int memcg_update_cache_sizes(struct mem_cgroup *memcg) +static int memcg_update_cache_sizes(struct mem_cgroup *memcg) { int num, ret;