Signed-off-by: Peng Liang <tcx4c70(a)gmail.com>
---
src/remote/remote_daemon.c | 3 ---
src/remote/remote_daemon.h | 1 -
src/remote/remote_daemon_config.c | 1 -
src/remote/remote_daemon_dispatch.c | 5 -----
src/remote/remote_daemon_dispatch.h | 1 -
src/remote/remote_daemon_stream.c | 1 -
src/remote/remote_driver.c | 2 --
7 files changed, 14 deletions(-)
diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c
index b8ecc51758..2e64e4da7f 100644
--- a/src/remote/remote_daemon.c
+++ b/src/remote/remote_daemon.c
@@ -32,7 +32,6 @@
#include "virfile.h"
#include "virlog.h"
#include "virpidfile.h"
-#include "virprocess.h"
#define VIR_FROM_THIS VIR_FROM_QEMU
@@ -43,14 +42,12 @@
#include "viruuid.h"
#include "remote_driver.h"
#include "viralloc.h"
-#include "virconf.h"
#include "virnetlink.h"
#include "virnetdaemon.h"
#include "remote_daemon_dispatch.h"
#include "virhook.h"
#include "viraudit.h"
#include "virstring.h"
-#include "locking/lock_manager.h"
#include "viraccessmanager.h"
#include "virutil.h"
#include "virgettext.h"
diff --git a/src/remote/remote_daemon.h b/src/remote/remote_daemon.h
index 1a69311029..7c3f50d9d4 100644
--- a/src/remote/remote_daemon.h
+++ b/src/remote/remote_daemon.h
@@ -25,7 +25,6 @@
#include <rpc/types.h>
#include <rpc/xdr.h>
-#include "remote_protocol.h"
#include "lxc_protocol.h"
#include "qemu_protocol.h"
#include "virthread.h"
diff --git a/src/remote/remote_daemon_config.c b/src/remote/remote_daemon_config.c
index 30653e82cf..330db54651 100644
--- a/src/remote/remote_daemon_config.c
+++ b/src/remote/remote_daemon_config.c
@@ -31,7 +31,6 @@
#include "remote_protocol.h"
#include "remote_driver.h"
#include "util/virnetdevopenvswitch.h"
-#include "virstring.h"
#include "virutil.h"
#define VIR_FROM_THIS VIR_FROM_CONF
diff --git a/src/remote/remote_daemon_dispatch.c b/src/remote/remote_daemon_dispatch.c
index 0fde4233a5..dc5790f077 100644
--- a/src/remote/remote_daemon_dispatch.c
+++ b/src/remote/remote_daemon_dispatch.c
@@ -30,18 +30,13 @@
#include "viralloc.h"
#include "virlog.h"
#include "remote_daemon_stream.h"
-#include "viruuid.h"
-#include "vircommand.h"
#include "virnetserverservice.h"
#include "virnetserver.h"
#include "virfile.h"
#include "virtypedparam.h"
-#include "virprocess.h"
#include "remote_protocol.h"
#include "qemu_protocol.h"
#include "lxc_protocol.h"
-#include "virstring.h"
-#include "object_event.h"
#include "domain_conf.h"
#include "network_conf.h"
#include "virprobe.h"
diff --git a/src/remote/remote_daemon_dispatch.h b/src/remote/remote_daemon_dispatch.h
index 0d5f243203..e6cde23244 100644
--- a/src/remote/remote_daemon_dispatch.h
+++ b/src/remote/remote_daemon_dispatch.h
@@ -20,7 +20,6 @@
#pragma once
-#include "remote_protocol.h"
#include "rpc/virnetserverprogram.h"
#include "rpc/virnetserverclient.h"
diff --git a/src/remote/remote_daemon_stream.c b/src/remote/remote_daemon_stream.c
index a6d2c915e6..645be6eafd 100644
--- a/src/remote/remote_daemon_stream.c
+++ b/src/remote/remote_daemon_stream.c
@@ -22,7 +22,6 @@
#include <config.h>
#include "remote_daemon_stream.h"
-#include "remote_daemon_dispatch.h"
#include "viralloc.h"
#include "virlog.h"
#include "virnetserverclient.h"
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 3c892bf8e6..94566069f0 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -35,7 +35,6 @@
#include "node_device_event.h"
#include "secret_event.h"
#include "driver.h"
-#include "virbuffer.h"
#include "remote_driver.h"
#include "remote_protocol.h"
#include "remote_sockets.h"
@@ -43,7 +42,6 @@
#include "qemu_protocol.h"
#include "viralloc.h"
#include "virfile.h"
-#include "vircommand.h"
#include "virtypedparam.h"
#include "viruri.h"
#include "virauth.h"
--
2.36.1