diff mbox series

multipath-tools: remove duplicate headers

Message ID 20240717095108.120782-1-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: remove duplicate headers | expand

Commit Message

Xose Vazquez Perez July 17, 2024, 9:51 a.m. UTC
Minimal cleaning done with scripts/checkincludes.pl

Cc: Martin Wilck <mwilck@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@lists.linux.dev>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
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(-)

Comments

Martin Wilck July 18, 2024, 4:45 p.m. UTC | #1
On Wed, 2024-07-17 at 11:51 +0200, Xose Vazquez Perez wrote:
> Minimal cleaning done with scripts/checkincludes.pl
> 
> Cc: Martin Wilck <mwilck@suse.com>
> Cc: Benjamin Marzinski <bmarzins@redhat.com>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@lists.linux.dev>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>

Reviewed-by: Martin Wilck <mwilck@suse.com>
diff mbox series

Patch

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,