diff mbox

multipath-tools: delete nearly all attributes of the last member(NULL) in hwtable

Message ID 1470060679-6993-1-git-send-email-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show

Commit Message

Xose Vazquez Perez Aug. 1, 2016, 2:11 p.m. UTC
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 mbox

Patch

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,
 	},
 };