[PATCH] multipath-tools: remove duplicate headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Minimal cleaning done with scripts/checkincludes.pl

Cc: Martin Wilck <mwilck@xxxxxxxx>
Cc: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx>
Cc: DM-DEVEL ML <dm-devel@xxxxxxxxxxxxxxx>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
---
A deeper cleanup should be done with iwyu:
https://include-what-you-use.org
---
 libmpathutil/msort.c      | 1 -
 multipathd/cli_handlers.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/libmpathutil/msort.c b/libmpathutil/msort.c
index 2963486e..50f799d9 100644
--- a/libmpathutil/msort.c
+++ b/libmpathutil/msort.c
@@ -21,7 +21,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <string.h>
 #include <errno.h>
 #include "msort.h"
 
diff --git a/multipathd/cli_handlers.c b/multipathd/cli_handlers.c
index 0106213e..7eb76337 100644
--- a/multipathd/cli_handlers.c
+++ b/multipathd/cli_handlers.c
@@ -31,7 +31,6 @@
 #include "foreign.h"
 #include "strbuf.h"
 #include "cli_handlers.h"
-#include "devmapper.h"
 
 static struct path *
 find_path_by_str(const struct _vector *pathvec, const char *str,
-- 
2.45.2





[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux