summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-11-09 16:37:05 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2015-11-09 17:04:10 +0100
commit3db5ba08b13fd542e725039646123bd8c0c5326a (patch)
treeae4ac7740ff813af2c39e4394ff7d4dfb49cd5fe /daemons
parent6c331f3061269cc4a60e2b40f12f2dcb19a86994 (diff)
downloadlvm2-3db5ba08b13fd542e725039646123bd8c0c5326a.tar.gz
cleanup: drop unneded headers
Coverity notices they are not really needed.
Diffstat (limited to 'daemons')
-rw-r--r--daemons/lvmlockd/lvmlockctl.c1
-rw-r--r--daemons/lvmlockd/lvmlockd-core.c1
-rw-r--r--daemons/lvmlockd/lvmlockd-dlm.c3
-rw-r--r--daemons/lvmlockd/lvmlockd-sanlock.c3
4 files changed, 0 insertions, 8 deletions
diff --git a/daemons/lvmlockd/lvmlockctl.c b/daemons/lvmlockd/lvmlockctl.c
index 2e1acd468..4f559cf7a 100644
--- a/daemons/lvmlockd/lvmlockctl.c
+++ b/daemons/lvmlockd/lvmlockctl.c
@@ -18,7 +18,6 @@
#include <errno.h>
#include <fcntl.h>
#include <syslog.h>
-#include <sys/wait.h>
#include <sys/socket.h>
#include <sys/un.h>
diff --git a/daemons/lvmlockd/lvmlockd-core.c b/daemons/lvmlockd/lvmlockd-core.c
index 6d5f579f6..49f408b10 100644
--- a/daemons/lvmlockd/lvmlockd-core.c
+++ b/daemons/lvmlockd/lvmlockd-core.c
@@ -16,7 +16,6 @@
#include "daemon-io.h"
#include "daemon-server.h"
-#include "daemon-log.h"
#include "lvm-version.h"
#include "lvmetad-client.h"
#include "lvmlockd-client.h"
diff --git a/daemons/lvmlockd/lvmlockd-dlm.c b/daemons/lvmlockd/lvmlockd-dlm.c
index acadf2dc7..2cf2c2021 100644
--- a/daemons/lvmlockd/lvmlockd-dlm.c
+++ b/daemons/lvmlockd/lvmlockd-dlm.c
@@ -14,7 +14,6 @@
#include "tool.h"
#include "daemon-server.h"
-#include "daemon-log.h"
#include "xlate.h"
#include "lvmlockd-internal.h"
@@ -26,7 +25,6 @@
*/
#include "libdlm.h"
-#include <pthread.h>
#include <stddef.h>
#include <poll.h>
#include <errno.h>
@@ -35,7 +33,6 @@
#include <byteswap.h>
#include <syslog.h>
#include <dirent.h>
-#include <sys/socket.h>
struct lm_dlm {
dlm_lshandle_t *dh;
diff --git a/daemons/lvmlockd/lvmlockd-sanlock.c b/daemons/lvmlockd/lvmlockd-sanlock.c
index e1a85b4cc..7cdaf8503 100644
--- a/daemons/lvmlockd/lvmlockd-sanlock.c
+++ b/daemons/lvmlockd/lvmlockd-sanlock.c
@@ -14,7 +14,6 @@
#include "tool.h"
#include "daemon-server.h"
-#include "daemon-log.h"
#include "xlate.h"
#include "lvmlockd-internal.h"
@@ -25,12 +24,10 @@
#include "sanlock_admin.h"
#include "sanlock_resource.h"
-#include <pthread.h>
#include <stddef.h>
#include <poll.h>
#include <errno.h>
#include <syslog.h>
-#include <sys/socket.h>
/*
-------------------------------------------------------------------------------