From: zhang jiao Date: Wed, 3 Sep 2025 07:30:59 +0000 (+0800) Subject: samples/cgroup: rm unused MEMCG_EVENTS macro X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=152d42584a98cb2e542932e63b25cc563224129f;p=thirdparty%2Fkernel%2Fstable.git samples/cgroup: rm unused MEMCG_EVENTS macro MEMCG_EVENTS is never referenced in the code. Just remove it. Link: https://lkml.kernel.org/r/20250903073100.2477-1-zhangjiao2@cmss.chinamobile.com Signed-off-by: zhang jiao Acked-by: Shakeel Butt Cc: Johannes Weiner Cc: Michal Hocko Cc: Muchun Song Cc: Roman Gushchin Signed-off-by: Andrew Morton --- diff --git a/samples/cgroup/memcg_event_listener.c b/samples/cgroup/memcg_event_listener.c index a1667fe2489a6..41425edbd88a6 100644 --- a/samples/cgroup/memcg_event_listener.c +++ b/samples/cgroup/memcg_event_listener.c @@ -18,8 +18,6 @@ #include #include -#define MEMCG_EVENTS "memory.events" - /* Size of buffer to use when reading inotify events */ #define INOTIFY_BUFFER_SIZE 8192