master - cleanup: drop unneded headers
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3db5ba08b13fd542e725039646123bd8c0c5326a Commit: 3db5ba08b13fd542e725039646123bd8c0c5326a Parent: 6c331f3061269cc4a60e2b40f12f2dcb19a86994 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Nov 9 16:37:05 2015 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Nov 9 17:04:10 2015 +0100
cleanup: drop unneded headers
Coverity notices they are not really needed.
--- daemons/lvmlockd/lvmlockctl.c | 1 - daemons/lvmlockd/lvmlockd-core.c | 1 - daemons/lvmlockd/lvmlockd-dlm.c | 3 --- daemons/lvmlockd/lvmlockd-sanlock.c | 3 --- 4 files changed, 0 insertions(+), 8 deletions(-)
daemons/lvmlockd/lvmlockctl.c +0 -1
@@ -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>
daemons/lvmlockd/lvmlockd-core.c +0 -1
@@ -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"
daemons/lvmlockd/lvmlockd-dlm.c +0 -3
@@ -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;
daemons/lvmlockd/lvmlockd-sanlock.c +0 -3
@@ -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> /* -------------------------------------------------------------------------------