[PATCH 13/29] node_device: 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/node_device/node_device_driver.c | 3 ---
 src/node_device/node_device_driver.h | 1 -
 src/node_device/node_device_udev.c   | 3 ---
 3 files changed, 7 deletions(-)

diff --git a/src/node_device/node_device_driver.c b/src/node_device/node_device_driver.c
index 1eb452b989..8069f49cac 100644
--- a/src/node_device/node_device_driver.c
+++ b/src/node_device/node_device_driver.c
@@ -32,14 +32,11 @@
 #include "viralloc.h"
 #include "virfile.h"
 #include "virjson.h"
-#include "virstring.h"
 #include "node_device_conf.h"
 #include "node_device_event.h"
 #include "node_device_driver.h"
-#include "node_device_util.h"
 #include "virvhba.h"
 #include "viraccessapicheck.h"
-#include "virnetdev.h"
 #include "virutil.h"
 #include "vircommand.h"
 #include "virlog.h"
diff --git a/src/node_device/node_device_driver.h b/src/node_device/node_device_driver.h
index 7311b603ac..e64145afeb 100644
--- a/src/node_device/node_device_driver.h
+++ b/src/node_device/node_device_driver.h
@@ -21,7 +21,6 @@
 
 #pragma once
 
-#include "internal.h"
 #include "driver.h"
 #include "virnodedeviceobj.h"
 #include "vircommand.h"
diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c
index b68dc12158..61c0986cf0 100644
--- a/src/node_device/node_device_udev.c
+++ b/src/node_device/node_device_udev.c
@@ -30,11 +30,9 @@
 #include "node_device_udev.h"
 #include "virerror.h"
 #include "driver.h"
-#include "datatypes.h"
 #include "virlog.h"
 #include "viralloc.h"
 #include "viruuid.h"
-#include "virbuffer.h"
 #include "virfile.h"
 #include "virpci.h"
 #include "virpidfile.h"
@@ -42,7 +40,6 @@
 #include "virnetdev.h"
 #include "virmdev.h"
 #include "virutil.h"
-#include "virpcivpd.h"
 
 #include "configmake.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