libnvdimm, namespace: lift single pmem limit in scan_labels()

Now that the rest of the infrastructure has been converted to handle
multi-pmem configurations, lift the artificial barrier at scan time.

Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
Dan Williams 2016-10-05 15:54:46 -07:00
commit 991d9020f3

View file

@ -2070,9 +2070,6 @@ static struct device **scan_labels(struct nd_region *nd_region)
}
} else
devs[count++] = dev;
/* we only expect one valid pmem label set per region */
break;
}
}