]> www.infradead.org Git - users/dwmw2/linux.git/commit
memcg: make v1 only functions static
authorShakeel Butt <shakeel.butt@linux.dev>
Thu, 15 Aug 2024 05:04:51 +0000 (22:04 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:26:19 +0000 (20:26 -0700)
commita5ebe6bbe52de8d96e628c5696bb9e6dff136ca0
treefe2d8bfb4b073740f24f939156fb7d578e11999f
parentf7d49ba03ae7555e6337b9d39eb080b4a064eab8
memcg: make v1 only functions static

The functions memcg1_charge_statistics() and memcg1_check_events() are
never used outside of v1 source file.  So, make them static.

Link: https://lkml.kernel.org/r/20240815050453.1298138-6-shakeel.butt@linux.dev
Signed-off-by: Shakeel Butt <shakeel.butt@linux.dev>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Roman Gushchin <roman.gushchin@linux.dev>
Cc: T.J. Mercier <tjmercier@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memcontrol-v1.c
mm/memcontrol-v1.h