Signed-off-by: Peng Liang <tcx4c70(a)gmail.com>
---
src/logging/log_daemon.c | 5 -----
src/logging/log_daemon_config.c | 4 ----
src/logging/log_daemon_dispatch.c | 1 -
src/logging/log_handler.c | 1 -
src/logging/log_manager.c | 1 -
5 files changed, 12 deletions(-)
diff --git a/src/logging/log_daemon.c b/src/logging/log_daemon.c
index 8ab334ff6d..91ed119c7f 100644
--- a/src/logging/log_daemon.c
+++ b/src/logging/log_daemon.c
@@ -33,15 +33,10 @@
#include "virutil.h"
#include "virfile.h"
#include "virpidfile.h"
-#include "virprocess.h"
#include "virerror.h"
#include "virlog.h"
#include "viralloc.h"
-#include "virconf.h"
#include "rpc/virnetdaemon.h"
-#include "virrandom.h"
-#include "virhash.h"
-#include "viruuid.h"
#include "virstring.h"
#include "virgettext.h"
#include "virdaemon.h"
diff --git a/src/logging/log_daemon_config.c b/src/logging/log_daemon_config.c
index 84a2946395..4436745488 100644
--- a/src/logging/log_daemon_config.c
+++ b/src/logging/log_daemon_config.c
@@ -23,12 +23,8 @@
#include "log_daemon_config.h"
#include "virconf.h"
-#include "viralloc.h"
-#include "virerror.h"
#include "virlog.h"
-#include "rpc/virnetserver.h"
#include "configmake.h"
-#include "virstring.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_CONF
diff --git a/src/logging/log_daemon_dispatch.c b/src/logging/log_daemon_dispatch.c
index 7a0a310576..f7448155fc 100644
--- a/src/logging/log_daemon_dispatch.c
+++ b/src/logging/log_daemon_dispatch.c
@@ -23,7 +23,6 @@
#include "rpc/virnetserver.h"
#include "rpc/virnetserverclient.h"
#include "virlog.h"
-#include "virstring.h"
#include "log_daemon.h"
#include "log_protocol.h"
#include "virerror.h"
diff --git a/src/logging/log_handler.c b/src/logging/log_handler.c
index 5c3df37415..bf1e3f35c5 100644
--- a/src/logging/log_handler.c
+++ b/src/logging/log_handler.c
@@ -25,7 +25,6 @@
#include "virobject.h"
#include "virfile.h"
#include "viralloc.h"
-#include "virstring.h"
#include "virlog.h"
#include "virrotatingfile.h"
#include "viruuid.h"
diff --git a/src/logging/log_manager.c b/src/logging/log_manager.c
index e605ed9930..6e8e7e9f1a 100644
--- a/src/logging/log_manager.c
+++ b/src/logging/log_manager.c
@@ -24,7 +24,6 @@
#include "log_protocol.h"
#include "viralloc.h"
#include "virutil.h"
-#include "virstring.h"
#include "virerror.h"
#include "virfile.h"
--
2.36.1