Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx> --- src/esx/esx_driver.c | 1 - src/esx/esx_interface_driver.c | 6 ------ src/esx/esx_network_driver.c | 2 -- src/esx/esx_private.h | 2 -- src/esx/esx_storage_backend_iscsi.c | 2 -- src/esx/esx_storage_backend_vmfs.c | 2 -- src/esx/esx_storage_driver.c | 2 -- src/esx/esx_stream.c | 1 - src/esx/esx_util.c | 3 --- src/esx/esx_vi.h | 1 - src/esx/esx_vi_methods.c | 2 -- src/esx/esx_vi_types.c | 1 - 12 files changed, 25 deletions(-) diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index fd1331375c..79b991f36f 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -28,7 +28,6 @@ #include "snapshot_conf.h" #include "virauth.h" #include "viralloc.h" -#include "virfile.h" #include "virlog.h" #include "viruuid.h" #include "vmx.h" diff --git a/src/esx/esx_interface_driver.c b/src/esx/esx_interface_driver.c index 0c4f2022f5..d6b6410d1a 100644 --- a/src/esx/esx_interface_driver.c +++ b/src/esx/esx_interface_driver.c @@ -24,16 +24,10 @@ #include <config.h> #include "internal.h" -#include "viralloc.h" -#include "viruuid.h" #include "interface_conf.h" #include "virsocketaddr.h" #include "esx_private.h" -#include "esx_interface_driver.h" #include "esx_vi.h" -#include "esx_vi_methods.h" -#include "esx_util.h" -#include "virstring.h" #define VIR_FROM_THIS VIR_FROM_ESX diff --git a/src/esx/esx_network_driver.c b/src/esx/esx_network_driver.c index 34020ac188..290c0ad56f 100644 --- a/src/esx/esx_network_driver.c +++ b/src/esx/esx_network_driver.c @@ -28,12 +28,10 @@ #include "viruuid.h" #include "network_conf.h" #include "esx_private.h" -#include "esx_network_driver.h" #include "esx_vi.h" #include "esx_vi_methods.h" #include "esx_util.h" #include "vircrypto.h" -#include "virstring.h" #define VIR_FROM_THIS VIR_FROM_ESX diff --git a/src/esx/esx_private.h b/src/esx/esx_private.h index 278a3f0142..baaacd6296 100644 --- a/src/esx/esx_private.h +++ b/src/esx/esx_private.h @@ -22,9 +22,7 @@ #pragma once #include "internal.h" -#include "virerror.h" #include "capabilities.h" -#include "domain_conf.h" #include "esx_vi.h" typedef struct _esxPrivate { diff --git a/src/esx/esx_storage_backend_iscsi.c b/src/esx/esx_storage_backend_iscsi.c index 043de1690d..7be0444f1b 100644 --- a/src/esx/esx_storage_backend_iscsi.c +++ b/src/esx/esx_storage_backend_iscsi.c @@ -33,9 +33,7 @@ #include "esx_private.h" #include "esx_vi.h" #include "esx_vi_methods.h" -#include "esx_util.h" #include "vircrypto.h" -#include "virstring.h" #define VIR_FROM_THIS VIR_FROM_ESX diff --git a/src/esx/esx_storage_backend_vmfs.c b/src/esx/esx_storage_backend_vmfs.c index 5dba813111..c718597d72 100644 --- a/src/esx/esx_storage_backend_vmfs.c +++ b/src/esx/esx_storage_backend_vmfs.c @@ -28,9 +28,7 @@ #include "internal.h" #include "viralloc.h" -#include "virfile.h" #include "virlog.h" -#include "viruuid.h" #include "storage_conf.h" #include "storage_source_conf.h" #include "esx_storage_backend_vmfs.h" diff --git a/src/esx/esx_storage_driver.c b/src/esx/esx_storage_driver.c index 056b340a08..7ce2efe855 100644 --- a/src/esx/esx_storage_driver.c +++ b/src/esx/esx_storage_driver.c @@ -26,9 +26,7 @@ #include "viruuid.h" #include "viralloc.h" -#include "storage_conf.h" #include "esx_private.h" -#include "esx_storage_driver.h" #include "esx_storage_backend_vmfs.h" #include "esx_storage_backend_iscsi.h" diff --git a/src/esx/esx_stream.c b/src/esx/esx_stream.c index 51c96ff0e0..85fef53339 100644 --- a/src/esx/esx_stream.c +++ b/src/esx/esx_stream.c @@ -24,7 +24,6 @@ #include "internal.h" #include "datatypes.h" #include "viralloc.h" -#include "virstring.h" #include "esx_stream.h" #define VIR_FROM_THIS VIR_FROM_ESX diff --git a/src/esx/esx_util.c b/src/esx/esx_util.c index c73a6728f7..89d5517262 100644 --- a/src/esx/esx_util.c +++ b/src/esx/esx_util.c @@ -24,15 +24,12 @@ #include <config.h> #include "internal.h" -#include "datatypes.h" -#include "viralloc.h" #include "virlog.h" #include "viruuid.h" #include "vmx.h" #include "esx_private.h" #include "esx_util.h" #include "virstring.h" -#include "virsocket.h" #define VIR_FROM_THIS VIR_FROM_ESX diff --git a/src/esx/esx_vi.h b/src/esx/esx_vi.h index 4c0e712919..17d0bf9fea 100644 --- a/src/esx/esx_vi.h +++ b/src/esx/esx_vi.h @@ -27,7 +27,6 @@ #include <curl/curl.h> #include "internal.h" -#include "virerror.h" #include "datatypes.h" #include "esx_vi_types.h" #include "esx_util.h" diff --git a/src/esx/esx_vi_methods.c b/src/esx/esx_vi_methods.c index 87046b6225..5aab2df377 100644 --- a/src/esx/esx_vi_methods.c +++ b/src/esx/esx_vi_methods.c @@ -23,8 +23,6 @@ #include <config.h> #include "virbuffer.h" -#include "viralloc.h" -#include "viruuid.h" #include "esx_vi_methods.h" #include "esx_util.h" diff --git a/src/esx/esx_vi_types.c b/src/esx/esx_vi_types.c index 132c5ac2fd..15f8f957e2 100644 --- a/src/esx/esx_vi_types.c +++ b/src/esx/esx_vi_types.c @@ -26,7 +26,6 @@ #include <libxml/xpathInternals.h> #include "virbuffer.h" -#include "datatypes.h" #include "viralloc.h" #include "virlog.h" #include "esx_vi.h" -- 2.36.1