[PATCH 12/29] network: 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/network/bridge_driver.c          | 5 -----
 src/network/bridge_driver.h          | 3 ---
 src/network/bridge_driver_linux.c    | 1 -
 src/network/bridge_driver_platform.h | 1 -
 src/network/leaseshelper.c           | 4 ----
 5 files changed, 14 deletions(-)

diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index ca1e0ca50f..272d1fb21a 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -40,28 +40,23 @@
 #include "datatypes.h"
 #include "bridge_driver.h"
 #include "bridge_driver_platform.h"
-#include "device_conf.h"
 #include "driver.h"
 #include "virbuffer.h"
 #include "virpidfile.h"
 #include "vircommand.h"
 #include "viralloc.h"
 #include "viruuid.h"
-#include "viriptables.h"
 #include "virlog.h"
 #include "virdnsmasq.h"
 #include "configmake.h"
-#include "virnetlink.h"
 #include "virnetdev.h"
 #include "virnetdevip.h"
 #include "virnetdevbridge.h"
-#include "virnetdevopenvswitch.h"
 #include "virnetdevtap.h"
 #include "virnetdevvportprofile.h"
 #include "virpci.h"
 #include "virgdbus.h"
 #include "virfile.h"
-#include "virstring.h"
 #include "viraccessapicheck.h"
 #include "network_event.h"
 #include "virhook.h"
diff --git a/src/network/bridge_driver.h b/src/network/bridge_driver.h
index 9475345669..0049ad42fb 100644
--- a/src/network/bridge_driver.h
+++ b/src/network/bridge_driver.h
@@ -21,9 +21,6 @@
 
 #pragma once
 
-#include "internal.h"
-#include "domain_conf.h"
-#include "vircommand.h"
 #include "virdnsmasq.h"
 #include "virnetworkobj.h"
 
diff --git a/src/network/bridge_driver_linux.c b/src/network/bridge_driver_linux.c
index 98d2a33a1d..a0f593b066 100644
--- a/src/network/bridge_driver_linux.c
+++ b/src/network/bridge_driver_linux.c
@@ -21,7 +21,6 @@
 
 #include <config.h>
 
-#include "viralloc.h"
 #include "virfile.h"
 #include "viriptables.h"
 #include "virstring.h"
diff --git a/src/network/bridge_driver_platform.h b/src/network/bridge_driver_platform.h
index de7cbc1195..0ab09829b8 100644
--- a/src/network/bridge_driver_platform.h
+++ b/src/network/bridge_driver_platform.h
@@ -21,7 +21,6 @@
 
 #pragma once
 
-#include "internal.h"
 #include "virthread.h"
 #include "virdnsmasq.h"
 #include "virnetworkobj.h"
diff --git a/src/network/leaseshelper.c b/src/network/leaseshelper.c
index ca2c640672..807bbcc5f3 100644
--- a/src/network/leaseshelper.c
+++ b/src/network/leaseshelper.c
@@ -24,18 +24,14 @@
 #include <config.h>
 
 
-#include "virthread.h"
 #include "virfile.h"
 #include "virpidfile.h"
-#include "virstring.h"
 #include "virerror.h"
-#include "viralloc.h"
 #include "virjson.h"
 #include "virlease.h"
 #include "virenum.h"
 #include "configmake.h"
 #include "virgettext.h"
-#include "virutil.h"
 
 #define VIR_FROM_THIS VIR_FROM_NETWORK
 
-- 
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