]> www.infradead.org Git - users/jedix/linux-maple.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>
Sat, 17 Aug 2024 00:53:24 +0000 (17:53 -0700)
commit627a5f108d5949e4a397a1e48330b572cbdbf972
tree936b3b2be3b719015fcb517eaaf6bab546949732
parent69cdfd1d72fe3df9f80e8c5eb95c33026451b8e0
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