[dm-devel] [PATCH 36/72] multipath: delegate_to_multipathd: mark unused arguments
Martin Wilck
Martin.Wilck at suse.com
Sat Oct 12 21:28:22 UTC 2019
From: Martin Wilck <mwilck at suse.com>
... for now.
Signed-off-by: Martin Wilck <mwilck at suse.com>
---
multipath/main.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/multipath/main.c b/multipath/main.c
index b3f8c99b..c2ef8c7b 100644
--- a/multipath/main.c
+++ b/multipath/main.c
@@ -811,8 +811,10 @@ enum {
NOT_DELEGATED = 1,
};
-int delegate_to_multipathd(enum mpath_cmds cmd, const char *dev,
- enum devtypes dev_type, const struct config *conf)
+int delegate_to_multipathd(enum mpath_cmds cmd,
+ __attribute__((unused)) const char *dev,
+ __attribute__((unused)) enum devtypes dev_type,
+ const struct config *conf)
{
int fd;
char command[1024], *p, *reply = NULL;
--
2.23.0
More information about the dm-devel
mailing list