]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
samples/cgroup: rm unused MEMCG_EVENTS macro
authorzhang jiao <zhangjiao2@cmss.chinamobile.com>
Wed, 3 Sep 2025 07:30:59 +0000 (15:30 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 12 Sep 2025 00:25:56 +0000 (17:25 -0700)
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>
samples/cgroup/memcg_event_listener.c

index a1667fe2489a607a18c4cfc821959aa2ca876e59..41425edbd88a699522ef31463cd9cd3794493bf9 100644 (file)
@@ -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