Signed-off-by: Peng Liang <tcx4c70(a)gmail.com>
---
src/network/bridge_driver.c | 5 -----
src/network/bridge_driver.h | 2 --
src/network/bridge_driver_linux.c | 1 -
src/network/leaseshelper.c | 3 ---
4 files changed, 11 deletions(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 7449c7e02a..11696a9459 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..fddc3dc8cf 100644
--- a/src/network/bridge_driver.h
+++ b/src/network/bridge_driver.h
@@ -22,8 +22,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/leaseshelper.c b/src/network/leaseshelper.c
index ca2c640672..ed1bc49346 100644
--- a/src/network/leaseshelper.c
+++ b/src/network/leaseshelper.c
@@ -24,12 +24,9 @@
#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"
--
2.36.1