From: SangYoun Kwak Date: Thu, 26 Jan 2023 08:11:59 +0000 (+0900) Subject: common: Remove unused includes X-Git-Tag: accepted/tizen/7.0/unified/20230130.152645~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b5b0cabf8532c67bafd611a63e992fd18c11dd6;p=platform%2Fcore%2Fsystem%2Fresourced.git common: Remove unused includes Some unused includings in the source files of common were removed. Change-Id: I360fbf1c3a281b3697b3be03445100cc009e2460 Signed-off-by: SangYoun Kwak (cherry picked from commit ff1be3744e6307224a0506c7ef605bc3ecf95f6f) --- diff --git a/src/common/cgroup/cgroup-memory-stat-lookup.c b/src/common/cgroup/cgroup-memory-stat-lookup.c index 3da8a203..d087a827 100644 --- a/src/common/cgroup/cgroup-memory-stat-lookup.c +++ b/src/common/cgroup/cgroup-memory-stat-lookup.c @@ -33,7 +33,6 @@ error "gperf generated tables don't work with this execution character set. Plea #endif #include -#include #include "memory-cgroup.h" diff --git a/src/common/cgroup/memory-cgroup.c b/src/common/cgroup/memory-cgroup.c index 5ec6d1dd..8c15d6f7 100644 --- a/src/common/cgroup/memory-cgroup.c +++ b/src/common/cgroup/memory-cgroup.c @@ -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" diff --git a/src/common/conf/config-parser.c b/src/common/conf/config-parser.c index 7e4ffc3e..25da66b3 100644 --- a/src/common/conf/config-parser.c +++ b/src/common/conf/config-parser.c @@ -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" diff --git a/src/common/heart-common.c b/src/common/heart-common.c index db687e84..e4537987 100644 --- a/src/common/heart-common.c +++ b/src/common/heart-common.c @@ -18,7 +18,6 @@ */ #include "resourced.h" #include "heart-common.h" -#include "macro.h" #include heart_memory_get_data_t heart_memory_get_data_func; diff --git a/src/common/ipc/dbus-handler.c b/src/common/ipc/dbus-handler.c index cc803448..e985ef34 100644 --- a/src/common/ipc/dbus-handler.c +++ b/src/common/ipc/dbus-handler.c @@ -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; diff --git a/src/common/procfs/procfs.c b/src/common/procfs/procfs.c index 44b41945..7a3c25e3 100644 --- a/src/common/procfs/procfs.c +++ b/src/common/procfs/procfs.c @@ -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" diff --git a/src/common/resourced-helper-worker.c b/src/common/resourced-helper-worker.c index 5ae1e638..7bc55ad8 100644 --- a/src/common/resourced-helper-worker.c +++ b/src/common/resourced-helper-worker.c @@ -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;