Signed-off-by: Peng Liang <tcx4c70@xxxxxxxxx> --- src/locking/domain_lock.c | 3 --- src/locking/domain_lock.h | 1 - src/locking/lock_daemon.c | 2 -- src/locking/lock_daemon_config.c | 4 ---- src/locking/lock_daemon_dispatch.c | 1 - src/locking/lock_driver_lockd.c | 1 - src/locking/lock_driver_nop.c | 2 -- src/locking/lock_manager.c | 1 - src/locking/sanlock_helper.c | 2 -- 9 files changed, 17 deletions(-) diff --git a/src/locking/domain_lock.c b/src/locking/domain_lock.c index 8966980532..96ce3373d9 100644 --- a/src/locking/domain_lock.c +++ b/src/locking/domain_lock.c @@ -22,9 +22,6 @@ #include <config.h> #include "domain_lock.h" -#include "viralloc.h" -#include "viruuid.h" -#include "virerror.h" #include "virlog.h" #define VIR_FROM_THIS VIR_FROM_LOCKING diff --git a/src/locking/domain_lock.h b/src/locking/domain_lock.h index 34a2a5fcb3..22db32be79 100644 --- a/src/locking/domain_lock.h +++ b/src/locking/domain_lock.h @@ -22,7 +22,6 @@ #pragma once #include "internal.h" -#include "domain_conf.h" #include "lock_manager.h" int virDomainLockProcessStart(virLockManagerPlugin *plugin, diff --git a/src/locking/lock_daemon.c b/src/locking/lock_daemon.c index 75f6c708db..a83ea33b4f 100644 --- a/src/locking/lock_daemon.c +++ b/src/locking/lock_daemon.c @@ -37,10 +37,8 @@ #include "virerror.h" #include "virlog.h" #include "viralloc.h" -#include "virconf.h" #include "rpc/virnetdaemon.h" #include "rpc/virnetserver.h" -#include "virrandom.h" #include "virhash.h" #include "viruuid.h" #include "virstring.h" diff --git a/src/locking/lock_daemon_config.c b/src/locking/lock_daemon_config.c index 6106ae02b3..430f6bb9a5 100644 --- a/src/locking/lock_daemon_config.c +++ b/src/locking/lock_daemon_config.c @@ -23,12 +23,8 @@ #include "lock_daemon_config.h" #include "virconf.h" -#include "viralloc.h" -#include "virerror.h" #include "virlog.h" -#include "rpc/virnetdaemon.h" #include "configmake.h" -#include "virstring.h" #include "virutil.h" #define VIR_FROM_THIS VIR_FROM_CONF diff --git a/src/locking/lock_daemon_dispatch.c b/src/locking/lock_daemon_dispatch.c index 13e688f2e2..e65a2b340f 100644 --- a/src/locking/lock_daemon_dispatch.c +++ b/src/locking/lock_daemon_dispatch.c @@ -23,7 +23,6 @@ #include "rpc/virnetdaemon.h" #include "rpc/virnetserverclient.h" #include "virlog.h" -#include "virstring.h" #include "lock_daemon.h" #include "lock_protocol.h" #include "virerror.h" diff --git a/src/locking/lock_driver_lockd.c b/src/locking/lock_driver_lockd.c index 7e9081e9eb..e902b01463 100644 --- a/src/locking/lock_driver_lockd.c +++ b/src/locking/lock_driver_lockd.c @@ -34,7 +34,6 @@ #include "lock_protocol.h" #include "configmake.h" #include "virstoragefile.h" -#include "virstring.h" #include "virutil.h" #include "lock_driver_lockd.h" diff --git a/src/locking/lock_driver_nop.c b/src/locking/lock_driver_nop.c index 13934bbc37..ff7e5a0a21 100644 --- a/src/locking/lock_driver_nop.c +++ b/src/locking/lock_driver_nop.c @@ -22,9 +22,7 @@ #include <config.h> #include "lock_driver_nop.h" -#include "viralloc.h" #include "virlog.h" -#include "viruuid.h" VIR_LOG_INIT("locking.lock_driver_nop"); diff --git a/src/locking/lock_manager.c b/src/locking/lock_manager.c index 82205865b2..5ab38785d4 100644 --- a/src/locking/lock_manager.c +++ b/src/locking/lock_manager.c @@ -28,7 +28,6 @@ #include "virlog.h" #include "viralloc.h" #include "viruuid.h" -#include "virstring.h" #if WITH_DLFCN_H # include <dlfcn.h> diff --git a/src/locking/sanlock_helper.c b/src/locking/sanlock_helper.c index 26f225e639..0a2df9509f 100644 --- a/src/locking/sanlock_helper.c +++ b/src/locking/sanlock_helper.c @@ -1,8 +1,6 @@ #include <config.h> #include "internal.h" -#include "virconf.h" -#include "viralloc.h" #include "domain_conf.h" #include "virgettext.h" -- 2.36.1