test: Remove a redundant ndctl_namespace_foreach
PATCH 1/1 test: Remove a redundant ndctl_namespace_foreach
I don't think this was intended to be in the code.
Signed-off-by Santosh Sivaraj <[email protected]>
--- test/multi-pmem.c | 1 - 1 file changed, 1 deletion(-)
test/multi-pmem.c +0 -1
@@ -162,7 +162,6 @@ static int do_multi_pmem(struct ndctl_ctx *ctx, struct ndctl_test *test)char uuid_str1[40 ], uuid_str2[40 ];uuid_t uuid_check; - ndctl_namespace_foreach(region, ndns)sprintf (devname,"namespace%d.%d" ,ndctl_region_get_id (region), i);ndctl_namespace_foreach (region, ndns)
Signature · 4 lines
2.26.2 _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
Quoted 3 lines · Santosh Sivaraj
I don't think this was intended to be in the code.
Signed-off-by Santosh Sivaraj <[email protected]>
Reviewed-by Ira Weiny <[email protected]>
Quoted 21 lines
--- test/multi-pmem.c | 1 - 1 file changed, 1 deletion(-)test/multi-pmem.c +0
-1@@ -162,7 +162,6 @@ static int do_multi_pmem(struct ndctl_ctx *ctx, struct ndctl_test *test)char uuid_str1[40 ], uuid_str2[40 ];uuid_t uuid_check; - ndctl_namespace_foreach(region, ndns)sprintf (devname,"namespace%d.%d" ,ndctl_region_get_id (region), i);ndctl_namespace_foreach (region, ndns)Signature · 4 lines
2.26.2 _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
_______________________________________________
Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]