From: Peng Liang Date: Sat, 14 May 2022 08:05:32 +0000 (+0800) Subject: storage_file: Remove unused includes X-Git-Tag: v8.5.0-rc1~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2297edc054977adac927fa386a3d09fefa8e93a;p=thirdparty%2Flibvirt.git storage_file: Remove unused includes Signed-off-by: Peng Liang Reviewed-by: Ján Tomko --- diff --git a/src/storage_file/storage_file_backend.c b/src/storage_file/storage_file_backend.c index d63b6a7502..94944ea356 100644 --- a/src/storage_file/storage_file_backend.c +++ b/src/storage_file/storage_file_backend.c @@ -23,9 +23,7 @@ #include -#include "datatypes.h" #include "virerror.h" -#include "viralloc.h" #include "internal.h" #include "storage_file_backend.h" #include "virlog.h" diff --git a/src/storage_file/storage_file_backend_fs.c b/src/storage_file/storage_file_backend_fs.c index 581261f1cc..c657cb0277 100644 --- a/src/storage_file/storage_file_backend_fs.c +++ b/src/storage_file/storage_file_backend_fs.c @@ -27,12 +27,8 @@ #include "virerror.h" #include "storage_file_backend.h" #include "storage_file_backend_fs.h" -#include "storage_util.h" -#include "vircommand.h" -#include "viralloc.h" #include "virfile.h" #include "virlog.h" -#include "virstring.h" #include "virutil.h" #define VIR_FROM_THIS VIR_FROM_STORAGE diff --git a/src/storage_file/storage_file_backend_gluster.c b/src/storage_file/storage_file_backend_gluster.c index 2aee61bf33..72341cf2c5 100644 --- a/src/storage_file/storage_file_backend_gluster.c +++ b/src/storage_file/storage_file_backend_gluster.c @@ -28,8 +28,6 @@ #include "viralloc.h" #include "virerror.h" #include "virlog.h" -#include "virstoragefile.h" -#include "virstring.h" #define VIR_FROM_THIS VIR_FROM_STORAGE diff --git a/src/storage_file/storage_source.c b/src/storage_file/storage_source.c index dd2bb2641d..ab0cdf2b12 100644 --- a/src/storage_file/storage_source.c +++ b/src/storage_file/storage_source.c @@ -32,11 +32,9 @@ #include "viralloc.h" #include "virerror.h" #include "virfile.h" -#include "virhash.h" #include "virlog.h" #include "virobject.h" #include "virstoragefile.h" -#include "virstring.h" #include "virutil.h" #define VIR_FROM_THIS VIR_FROM_STORAGE