Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

zhang jiao and committed by
Andrew Morton
152d4258 72797d21

-2
-2
samples/cgroup/memcg_event_listener.c
··· 18 18 #include <sys/inotify.h> 19 19 #include <unistd.h> 20 20 21 - #define MEMCG_EVENTS "memory.events" 22 - 23 21 /* Size of buffer to use when reading inotify events */ 24 22 #define INOTIFY_BUFFER_SIZE 8192 25 23