[PATCH 20/29] security: Remove unused includes

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

 



From: Adam Tao <tcx4c70@xxxxxxxxx>

Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx>
---
 src/security/security_dac.c     | 1 -
 src/security/security_manager.h | 1 -
 src/security/security_nop.c     | 2 --
 src/security/security_selinux.c | 2 --
 src/security/security_stack.c   | 1 -
 src/security/security_util.c    | 1 -
 6 files changed, 8 deletions(-)

diff --git a/src/security/security_dac.c b/src/security/security_dac.c
index 5b840f4225..f749335bb4 100644
--- a/src/security/security_dac.c
+++ b/src/security/security_dac.c
@@ -39,7 +39,6 @@
 #include "virusb.h"
 #include "virscsi.h"
 #include "virscsivhost.h"
-#include "virstoragefile.h"
 #include "virstring.h"
 #include "virutil.h"
 
diff --git a/src/security/security_manager.h b/src/security/security_manager.h
index 59020b1475..bb3855efef 100644
--- a/src/security/security_manager.h
+++ b/src/security/security_manager.h
@@ -22,7 +22,6 @@
 
 #include "domain_conf.h"
 #include "vircommand.h"
-#include "virstoragefile.h"
 
 typedef struct _virSecurityManager virSecurityManager;
 
diff --git a/src/security/security_nop.c b/src/security/security_nop.c
index 0b3d37142a..0dbc547feb 100644
--- a/src/security/security_nop.c
+++ b/src/security/security_nop.c
@@ -20,8 +20,6 @@
 #include <config.h>
 
 #include "security_nop.h"
-#include "virstring.h"
-#include "virerror.h"
 
 #define VIR_FROM_THIS VIR_FROM_SECURITY
 
diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c
index 6f02baf2ce..303a2bc505 100644
--- a/src/security/security_selinux.c
+++ b/src/security/security_selinux.c
@@ -26,7 +26,6 @@
 #include <selinux/label.h>
 
 #include "security_driver.h"
-#include "security_selinux.h"
 #include "security_util.h"
 #include "virerror.h"
 #include "viralloc.h"
@@ -36,7 +35,6 @@
 #include "virusb.h"
 #include "virscsi.h"
 #include "virscsivhost.h"
-#include "virstoragefile.h"
 #include "virfile.h"
 #include "virhash.h"
 #include "virrandom.h"
diff --git a/src/security/security_stack.c b/src/security/security_stack.c
index 3c2239910a..0c72f93a20 100644
--- a/src/security/security_stack.c
+++ b/src/security/security_stack.c
@@ -22,7 +22,6 @@
 
 #include "security_stack.h"
 
-#include "virerror.h"
 #include "viralloc.h"
 #include "virlog.h"
 
diff --git a/src/security/security_util.c b/src/security/security_util.c
index 26a7861e29..83eb2edcae 100644
--- a/src/security/security_util.c
+++ b/src/security/security_util.c
@@ -23,7 +23,6 @@
 #include "virstring.h"
 #include "virerror.h"
 #include "virlog.h"
-#include "viruuid.h"
 #include "virhostuptime.h"
 
 #include "security_util.h"
-- 
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