[dm-devel] [PATCH] multipath-tools: delete nearly all attributes of the last member(NULL) in hwtable
Xose Vazquez Perez
xose.vazquez at gmail.com
Mon Aug 1 14:11:19 UTC 2016
They are "useless".
Leave only mandatory attributes.
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at 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
More information about the dm-devel
mailing list