* [PATCH] multipath-tools: delete nearly all attributes of the last member(NULL) in hwtable
@ 2016-08-01 14:11 Xose Vazquez Perez
0 siblings, 0 replies; only message in thread
From: Xose Vazquez Perez @ 2016-08-01 14:11 UTC (permalink / raw)
Cc: device-mapper development, Xose Vazquez Perez
They are "useless".
Leave only mandatory attributes.
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
libmultipath/hwtable.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index dfd84dc..d53cd34 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -901,18 +901,6 @@ static struct hwentry default_hw[] = {
{
.vendor = NULL,
.product = NULL,
- .features = NULL,
- .hwhandler = NULL,
- .selector = NULL,
- .pgpolicy = 0,
- .pgfailback = 0,
- .rr_weight = 0,
- .no_path_retry = 0,
- .minio = 0,
- .minio_rq = 0,
- .checker_name = NULL,
- .prio_name = NULL,
- .prio_args = NULL,
},
};
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-01 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-01 14:11 [PATCH] multipath-tools: delete nearly all attributes of the last member(NULL) in hwtable Xose Vazquez Perez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).