aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorZhang Zhen <zhenzhang.zhang@huawei.com>2014-12-12 19:55:38 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-13 15:42:47 -0500
commit056b7ccef4bc670b1ed77181159c8228de0926ab (patch)
treeb7574a864baed1928bcb6840c2b3c6ec746e3652 /mm/memcontrol.c
parentbd6dace78b9e4595d29892f806514518449c7489 (diff)
mm/memcontrol.c: remove the unused arg in __memcg_kmem_get_cache()
The gfp was passed in but never used in this function. Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 11cbfde4dc6d..c6ac50e7d1c2 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -2804,8 +2804,7 @@ void __memcg_uncharge_slab(struct kmem_cache *cachep, int order)
2804 * Can't be called in interrupt context or from kernel threads. 2804 * Can't be called in interrupt context or from kernel threads.
2805 * This function needs to be called with rcu_read_lock() held. 2805 * This function needs to be called with rcu_read_lock() held.
2806 */ 2806 */
2807struct kmem_cache *__memcg_kmem_get_cache(struct kmem_cache *cachep, 2807struct kmem_cache *__memcg_kmem_get_cache(struct kmem_cache *cachep)
2808 gfp_t gfp)
2809{ 2808{
2810 struct mem_cgroup *memcg; 2809 struct mem_cgroup *memcg;
2811 struct kmem_cache *memcg_cachep; 2810 struct kmem_cache *memcg_cachep;