Skip to contentSkip to conversation

main - cov: remove unused headers

PATCH Zdenek Kabelac 1 participant 1 message Jul 10, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5c463584f6b0541cc0144335b49afd2d94745928
Commit:        5c463584f6b0541cc0144335b49afd2d94745928
Parent:        493acb9195cef185b38ae4e4ffb84b984e5cc08c
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Jul 9 02:45:21 2022 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jul 11 01:18:24 2022 +0200

cov: remove unused headers

---
 lib/device/online.c              | 1 -
 lib/label/hints.c                | 1 -
 libdaemon/server/daemon-server.c | 1 -
 libdm/libdm-deptree.c            | 1 -
 4 files changed, 4 deletions(-)
lib/device/online.c +0 -1
index 024485bb3..79652d990 100644
@@ -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>
lib/label/hints.c +0 -1
index edce6f517..825788369 100644
@@ -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>
libdaemon/server/daemon-server.c +0 -1
index 96cfc392e..dde7f5982 100644
@@ -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>
libdm/libdm-deptree.c +0 -1
index c14b6ef56..33a80cf4d 100644
@@ -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