[PATCH v3 07/26] hyperv: Remove unused includes

Peng Liang tcx4c70 at gmail.com
Wed Jun 8 12:12:55 UTC 2022


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

diff --git a/src/hyperv/hyperv_private.h b/src/hyperv/hyperv_private.h
index da37a8fd20..fb82cef046 100644
--- a/src/hyperv/hyperv_private.h
+++ b/src/hyperv/hyperv_private.h
@@ -23,11 +23,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
 
-- 
2.36.1



More information about the libvir-list mailing list