[PATCH v2 05/30] cpu: Remove unused includes

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

 



Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx>
---
 src/cpu/cpu.c       | 3 ---
 src/cpu/cpu.h       | 1 -
 src/cpu/cpu_arm.c   | 1 -
 src/cpu/cpu_map.c   | 2 --
 src/cpu/cpu_ppc64.c | 1 -
 src/cpu/cpu_s390.c  | 2 --
 src/cpu/cpu_x86.c   | 1 -
 7 files changed, 11 deletions(-)

diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c
index 285c7eee44..d97ef5e873 100644
--- a/src/cpu/cpu.c
+++ b/src/cpu/cpu.c
@@ -21,16 +21,13 @@
 #include <config.h>
 
 #include "virlog.h"
-#include "viralloc.h"
 #include "virxml.h"
 #include "cpu.h"
-#include "cpu_map.h"
 #include "cpu_x86.h"
 #include "cpu_ppc64.h"
 #include "cpu_s390.h"
 #include "cpu_arm.h"
 #include "capabilities.h"
-#include "virstring.h"
 
 
 #define VIR_FROM_THIS VIR_FROM_CPU
diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h
index 071b33fe76..06b5858ef3 100644
--- a/src/cpu/cpu.h
+++ b/src/cpu/cpu.h
@@ -20,7 +20,6 @@
 
 #pragma once
 
-#include "virerror.h"
 #include "datatypes.h"
 #include "virarch.h"
 #include "domain_capabilities.h"
diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_arm.c
index 51a3c1f3ee..599bb836ed 100644
--- a/src/cpu/cpu_arm.c
+++ b/src/cpu/cpu_arm.c
@@ -35,7 +35,6 @@
 #include "cpu_arm.h"
 #include "cpu_map.h"
 #include "virlog.h"
-#include "virstring.h"
 #include "virxml.h"
 
 #define VIR_FROM_THIS VIR_FROM_CPU
diff --git a/src/cpu/cpu_map.c b/src/cpu/cpu_map.c
index 6baaa77776..1d8051a13b 100644
--- a/src/cpu/cpu_map.c
+++ b/src/cpu/cpu_map.c
@@ -20,12 +20,10 @@
 
 #include <config.h>
 
-#include "viralloc.h"
 #include "virfile.h"
 #include "cpu.h"
 #include "cpu_map.h"
 #include "configmake.h"
-#include "virstring.h"
 #include "virlog.h"
 
 #define VIR_FROM_THIS VIR_FROM_CPU
diff --git a/src/cpu/cpu_ppc64.c b/src/cpu/cpu_ppc64.c
index 314d2f7c86..5ff076e337 100644
--- a/src/cpu/cpu_ppc64.c
+++ b/src/cpu/cpu_ppc64.c
@@ -26,7 +26,6 @@
 #include "cpu.h"
 #include "virstring.h"
 #include "cpu_map.h"
-#include "virbuffer.h"
 
 #define VIR_FROM_THIS VIR_FROM_CPU
 
diff --git a/src/cpu/cpu_s390.c b/src/cpu/cpu_s390.c
index 8fda4a49a6..d908a83928 100644
--- a/src/cpu/cpu_s390.c
+++ b/src/cpu/cpu_s390.c
@@ -21,8 +21,6 @@
 
 #include <config.h>
 
-#include "viralloc.h"
-#include "virstring.h"
 #include "cpu.h"
 
 
diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index a4aca6055d..695d095baa 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -31,7 +31,6 @@
 #include "cpu_x86.h"
 #include "virbuffer.h"
 #include "virendian.h"
-#include "virstring.h"
 #include "virhostcpu.h"
 
 #define VIR_FROM_THIS VIR_FROM_CPU
-- 
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