common: Remove unused includes
authorSangYoun Kwak <sy.kwak@samsung.com>
Thu, 26 Jan 2023 08:11:59 +0000 (17:11 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 26 Jan 2023 09:23:24 +0000 (18:23 +0900)
Some unused includings in the source files of common were removed.

Change-Id: I360fbf1c3a281b3697b3be03445100cc009e2460
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
(cherry picked from commit ff1be3744e6307224a0506c7ef605bc3ecf95f6f)

src/common/cgroup/cgroup-memory-stat-lookup.c
src/common/cgroup/memory-cgroup.c
src/common/conf/config-parser.c
src/common/heart-common.c
src/common/ipc/dbus-handler.c
src/common/procfs/procfs.c
src/common/resourced-helper-worker.c

index 3da8a2036e1e21dceafd412aa3960411d1c7f863..d087a827c7eca5c2ccab47a44138749894433724 100644 (file)
@@ -33,7 +33,6 @@ error "gperf generated tables don't work with this execution character set. Plea
 #endif
 
 #include <assert.h>
-#include <string.h>
 
 #include "memory-cgroup.h"
 
index 5ec6d1ddb848687245248be5eb90ce1d6c0b6d61..8c15d6f75005142d9d91e833920e675fcf63cf78 100644 (file)
@@ -40,7 +40,6 @@
 #include "macro.h"
 #include "memory-cgroup.h"
 #include "cgroup.h"
-#include "module.h"
 #include "util.h"
 #include "file-helper.h"
 #include "config-parser.h"
index 7e4ffc3ef101efd6154988b028d7743e18676e1f..25da66b3d4fb09f4a76754e06b26bebbc81e923f 100644 (file)
@@ -27,7 +27,6 @@
 #include "trace.h"
 #include "config-parser.h"
 #include "proc-common.h"
-#include "cpu-cgroup.h"
 #include "swap-common.h"
 #include "dedup-common.h"
 #include "compact-common.h"
index db687e84cfab52b462f0b47ec1a0d620d1979af5..e45379879e3c0f448e43a515f078dfc877a80cb0 100644 (file)
@@ -18,7 +18,6 @@
  */
 #include "resourced.h"
 #include "heart-common.h"
-#include "macro.h"
 #include <glib.h>
 
 heart_memory_get_data_t heart_memory_get_data_func;
index cc80344838768b2b74378c7880feba61f9f6a543..e985ef34e1e1ddd3a1c38257cf83a13e9f488350 100644 (file)
@@ -33,7 +33,6 @@
 #include "macro.h"
 #include "resourced.h"
 #include "util.h"
-#include "fd-handler.h"
 
 static guint owner_id;
 static GList *dbus_signal_list;
index 44b419456aaf502b7898676c40e78717c5373050..7a3c25e3d3e9a7492371a4b059d132e44a081b37 100644 (file)
@@ -46,7 +46,6 @@
 #include "procfs.h"
 #include "proc-common.h"
 #include "memory-cgroup.h"
-#include "module.h"
 #include "file-helper.h"
 #include "swap-common.h"
 #include "smaps.h"
index 5ae1e638fe0cf8d453b49d90b063e92eafc8575e..7bc55ad8a9075481dd80d59607c553ecde54bd73 100644 (file)
@@ -26,9 +26,6 @@
 #include "util.h"
 #include "module.h"
 #include "resourced.h"
-#include "trace.h"
-#include "resourced-helper-worker.h"
-#include "fd-handler.h"
 
 /* resourced helper worker */
 /*static struct resourced_worker rhw;