diff options
author | zhang jiao <zhangjiao2@cmss.chinamobile.com> | 2025-09-03 15:30:59 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-21 14:22:26 -0700 |
commit | 152d42584a98cb2e542932e63b25cc563224129f (patch) | |
tree | 9cfa8cfb2fb6eeb4b5b14c6508e887d524d0352e | |
parent | 72797d218b430c59f9e30be44aeb7632e0a2f211 (diff) |
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 <zhangjiao2@cmss.chinamobile.com>
Acked-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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | samples/cgroup/memcg_event_listener.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/samples/cgroup/memcg_event_listener.c b/samples/cgroup/memcg_event_listener.c index a1667fe2489a..41425edbd88a 100644 --- a/samples/cgroup/memcg_event_listener.c +++ b/samples/cgroup/memcg_event_listener.c @@ -18,8 +18,6 @@ #include <sys/inotify.h> #include <unistd.h> -#define MEMCG_EVENTS "memory.events" - /* Size of buffer to use when reading inotify events */ #define INOTIFY_BUFFER_SIZE 8192 |