summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2022-07-09 02:45:21 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2022-07-11 01:18:24 +0200
commit5c463584f6b0541cc0144335b49afd2d94745928 (patch)
tree4082917aaa3853b01555137146c2180c365bf829
parent493acb9195cef185b38ae4e4ffb84b984e5cc08c (diff)
downloadlvm2-5c463584f6b0541cc0144335b49afd2d94745928.tar.gz
cov: remove unused headers
-rw-r--r--lib/device/online.c1
-rw-r--r--lib/label/hints.c1
-rw-r--r--libdaemon/server/daemon-server.c1
-rw-r--r--libdm/libdm-deptree.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/lib/device/online.c b/lib/device/online.c
index 024485bb3..79652d990 100644
--- a/lib/device/online.c
+++ b/lib/device/online.c
@@ -16,7 +16,6 @@
#include "lib/misc/lib.h"
#include "lib/commands/toolcontext.h"
#include "lib/device/device.h"
-#include "lib/device/device_id.h"
#include "lib/device/online.h"
#include <dirent.h>
diff --git a/lib/label/hints.c b/lib/label/hints.c
index edce6f517..825788369 100644
--- a/lib/label/hints.c
+++ b/lib/label/hints.c
@@ -146,7 +146,6 @@
#include "lib/label/hints.h"
#include "lib/device/dev-type.h"
#include "lib/device/device_id.h"
-#include "lib/device/online.h"
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/libdaemon/server/daemon-server.c b/libdaemon/server/daemon-server.c
index 96cfc392e..dde7f5982 100644
--- a/libdaemon/server/daemon-server.c
+++ b/libdaemon/server/daemon-server.c
@@ -20,7 +20,6 @@
#include <errno.h>
#include <fcntl.h> /* help musl C */
#include <pthread.h>
-#include <sys/file.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/time.h>
diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c
index c14b6ef56..33a80cf4d 100644
--- a/libdm/libdm-deptree.c
+++ b/libdm/libdm-deptree.c
@@ -19,7 +19,6 @@
#include "libdm/misc/dm-ioctl.h"
#include <stdarg.h>
-#include <sys/param.h>
#include <sys/utsname.h>
#define MAX_TARGET_PARAMSIZE 500000