Re: [PATCH 6/9] mm: Mark function as static in memcontrol.c

From: David Rientjes
Date: Fri Feb 07 2014 - 15:55:33 EST


On Fri, 7 Feb 2014, Rashika Kheria wrote:

> Mark function as static in memcontrol.c because it is not used outside
> this file.
>
> This also eliminates the following warning in memcontrol.c:
> mm/memcontrol.c:3089:5: warning: no previous prototype for âmemcg_update_cache_sizesâ [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>
> Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>

memcg_update_cache_sizes() was removed in commit d6441637709b ("memcg:
rework memcg_update_kmem_limit synchronization") for 3.14-rc1.