[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250903073100.2477-1-zhangjiao2@cmss.chinamobile.com>
Date: Wed, 3 Sep 2025 15:30:59 +0800
From: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
To: hannes@...xchg.org
Cc: mhocko@...nel.org,
roman.gushchin@...ux.dev,
shakeel.butt@...ux.dev,
muchun.song@...ux.dev,
cgroups@...r.kernel.org,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
zhang jiao <zhangjiao2@...s.chinamobile.com>
Subject: [PATCH] samples/cgroup: rm unused MEMCG_EVENTS macro
From: zhang jiao <zhangjiao2@...s.chinamobile.com>
MEMCG_EVENTS is never referenced in the code. Just remove it.
Signed-off-by: zhang jiao <zhangjiao2@...s.chinamobile.com>
---
samples/cgroup/memcg_event_listener.c | 2 --
1 file changed, 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
--
2.33.0
Powered by blists - more mailing lists