[dm-devel] [PATCH 16/28] libmultipath/hwtable: remove inherited props from ONTAP NVMe

Martin Wilck mwilck at suse.com
Fri Jun 8 10:20:29 UTC 2018


With the new hwtable code, properties inherited from generic NVMe
don't need to be duplicated.

Signed-off-by: Martin Wilck <mwilck at suse.com>
---
 libmultipath/hwtable.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 148f0ba2..d20ed194 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -746,11 +746,8 @@ static struct hwentry default_hw[] = {
 		 */
 		.vendor	       = "NVME",
 		.product       = "^NetApp ONTAP Controller",
-		.uid_attribute = "ID_WWN",
-		.checker_name  = NONE,
 		.pgpolicy      = MULTIBUS,
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
-		.retain_hwhandler = RETAIN_HWHANDLER_OFF,
 	},
 	/*
 	 * Nexenta
-- 
2.17.0




More information about the dm-devel mailing list