From: Dan Williams Date: Wed, 5 Oct 2016 22:54:46 +0000 (-0700) Subject: libnvdimm, namespace: lift single pmem limit in scan_labels() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=991d9020f3e0447ea00c7c7f11fed364d977320a;p=linux-beck.git 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 --- diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c index 54babc3a80ca..fa51d751ccf7 100644 --- a/drivers/nvdimm/namespace_devs.c +++ b/drivers/nvdimm/namespace_devs.c @@ -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; } }