[PATCH v2 23/30] storage_file: Remove unused includes

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

 



Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx>
---
 src/storage_file/storage_file_backend.c         | 2 --
 src/storage_file/storage_file_backend_fs.c      | 4 ----
 src/storage_file/storage_file_backend_gluster.c | 2 --
 src/storage_file/storage_source.c               | 2 --
 4 files changed, 10 deletions(-)

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 <sys/stat.h>
 
-#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 698b9eb79d..853f488bd6 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
-- 
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