Signed-off-by: Peng Liang <tcx4c70(a)gmail.com>
---
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 --
src/ch/ch_process.h | 1 -
6 files changed, 14 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 bb489a74e3..08420fd5f5 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 977082d585..192a027b3e 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"
diff --git a/src/ch/ch_process.h b/src/ch/ch_process.h
index 800e3f4e23..6eccf5e608 100644
--- a/src/ch/ch_process.h
+++ b/src/ch/ch_process.h
@@ -21,7 +21,6 @@
#pragma once
#include "ch_conf.h"
-#include "internal.h"
int virCHProcessStart(virCHDriver *driver,
virDomainObj *vm,
--
2.36.1