[PATCH v3 03/26] ch: Remove unused includes

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

 



Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx>
---
 src/ch/ch_conf.c    | 1 -
 src/ch/ch_domain.c  | 1 -
 src/ch/ch_driver.c  | 7 -------
 src/ch/ch_monitor.c | 2 --
 src/ch/ch_process.c | 2 --
 5 files changed, 13 deletions(-)

diff --git a/src/ch/ch_conf.c b/src/ch/ch_conf.c
index bae245adf3..775596e9f5 100644
--- a/src/ch/ch_conf.c
+++ b/src/ch/ch_conf.c
@@ -21,7 +21,6 @@
 #include <config.h>
 
 #include "configmake.h"
-#include "viralloc.h"
 #include "vircommand.h"
 #include "virlog.h"
 #include "virobject.h"
diff --git a/src/ch/ch_domain.c b/src/ch/ch_domain.c
index 5ab526ba1b..62a6f7a9d6 100644
--- a/src/ch/ch_domain.c
+++ b/src/ch/ch_domain.c
@@ -22,7 +22,6 @@
 
 #include "ch_domain.h"
 #include "domain_driver.h"
-#include "viralloc.h"
 #include "virchrdev.h"
 #include "virlog.h"
 #include "virtime.h"
diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c
index d14899044e..e7c172c894 100644
--- a/src/ch/ch_driver.c
+++ b/src/ch/ch_driver.c
@@ -29,18 +29,11 @@
 #include "datatypes.h"
 #include "driver.h"
 #include "viraccessapicheck.h"
-#include "viralloc.h"
-#include "virbuffer.h"
 #include "virchrdev.h"
-#include "vircommand.h"
 #include "virerror.h"
-#include "virfile.h"
 #include "virlog.h"
-#include "virnetdevtap.h"
 #include "virobject.h"
-#include "virstring.h"
 #include "virtypedparam.h"
-#include "viruri.h"
 #include "virutil.h"
 #include "viruuid.h"
 #include "virnuma.h"
diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c
index 2c6b83a1b5..fe3c1237c4 100644
--- a/src/ch/ch_monitor.c
+++ b/src/ch/ch_monitor.c
@@ -24,7 +24,6 @@
 #include <unistd.h>
 #include <curl/curl.h>
 
-#include "ch_conf.h"
 #include "ch_monitor.h"
 #include "viralloc.h"
 #include "vircommand.h"
@@ -33,7 +32,6 @@
 #include "virjson.h"
 #include "virlog.h"
 #include "virstring.h"
-#include "virtime.h"
 
 #define VIR_FROM_THIS VIR_FROM_CH
 
diff --git a/src/ch/ch_process.c b/src/ch/ch_process.c
index 4247902bcf..77f55e777b 100644
--- a/src/ch/ch_process.c
+++ b/src/ch/ch_process.c
@@ -27,8 +27,6 @@
 #include "ch_monitor.h"
 #include "ch_process.h"
 #include "domain_cgroup.h"
-#include "virnuma.h"
-#include "viralloc.h"
 #include "virerror.h"
 #include "virjson.h"
 #include "virlog.h"
-- 
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