[PATCH v2 18/30] remote: Remove unused includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx>
---
 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 --
 src/remote/remote_driver.h          | 1 -
 8 files changed, 15 deletions(-)

diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c
index 26469e0d9f..ca9d4fd4d1 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 2463386e39..305311c208 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 423f5f9fb9..becbfc6589 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"
diff --git a/src/remote/remote_driver.h b/src/remote/remote_driver.h
index 5e9b04da63..68cac1c244 100644
--- a/src/remote/remote_driver.h
+++ b/src/remote/remote_driver.h
@@ -21,7 +21,6 @@
 
 #pragma once
 
-#include "internal.h"
 #include "configmake.h"
 
 int remoteRegister (void);
-- 
2.36.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux