Re: [PATCH] mm/memcontrol: fix defined but not used compiler warning

2014-12-02 Thread Michal Hocko
On Tue 02-12-14 12:07:52, Michele Curti wrote: > test_mem_cgroup_node_reclaimable is used only when MAX_NUMNODES > 1, > so move it into the compiler if statement > > Signed-off-by: Michele Curti Acked-by: Michal Hocko > --- > mm/memcontrol.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletio

[PATCH] mm/memcontrol: fix defined but not used compiler warning

2014-12-02 Thread Michele Curti
test_mem_cgroup_node_reclaimable is used only when MAX_NUMNODES > 1, so move it into the compiler if statement Signed-off-by: Michele Curti --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index c6ac50e..84531a9 100644 ---