[PATCH 07/29] hyperv: Remove unused includes

Peng Liang tcx4c70 at gmail.com
Wed May 11 13:55:08 UTC 2022


From: Adam Tao <tcx4c70 at gmail.com>

Signed-off-by: Peng Liang <tcx4c70 at gmail.com>
---
 src/hyperv/hyperv_private.h | 3 ---
 src/hyperv/hyperv_util.c    | 3 ---
 src/hyperv/hyperv_util.h    | 1 -
 3 files changed, 7 deletions(-)

diff --git a/src/hyperv/hyperv_private.h b/src/hyperv/hyperv_private.h
index da37a8fd20..3d0606bac3 100644
--- a/src/hyperv/hyperv_private.h
+++ b/src/hyperv/hyperv_private.h
@@ -22,12 +22,9 @@
 
 #pragma once
 
-#include "internal.h"
-#include "virerror.h"
 #include "hyperv_util.h"
 #include "hyperv_wsman.h"
 #include "capabilities.h"
-#include "domain_conf.h"
 
 typedef struct _hypervPrivate hypervPrivate;
 struct _hypervPrivate {
diff --git a/src/hyperv/hyperv_util.c b/src/hyperv/hyperv_util.c
index ede786be25..fe71e47285 100644
--- a/src/hyperv/hyperv_util.c
+++ b/src/hyperv/hyperv_util.c
@@ -22,13 +22,10 @@
 #include <config.h>
 
 #include "internal.h"
-#include "datatypes.h"
 #include "viralloc.h"
 #include "virlog.h"
-#include "viruuid.h"
 #include "hyperv_private.h"
 #include "hyperv_util.h"
-#include "virstring.h"
 
 #define VIR_FROM_THIS VIR_FROM_HYPERV
 
diff --git a/src/hyperv/hyperv_util.h b/src/hyperv/hyperv_util.h
index 3c3cf56c13..93c45a639b 100644
--- a/src/hyperv/hyperv_util.h
+++ b/src/hyperv/hyperv_util.h
@@ -21,7 +21,6 @@
 
 #pragma once
 
-#include "internal.h"
 #include "viruri.h"
 
 typedef struct _hypervParsedUri hypervParsedUri;
-- 
2.36.1



More information about the libvir-list mailing list