Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965015AbcJGQrU (ORCPT ); Fri, 7 Oct 2016 12:47:20 -0400 Received: from mga09.intel.com ([134.134.136.24]:11548 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965033AbcJGQnD (ORCPT ); Fri, 7 Oct 2016 12:43:03 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,456,1473145200"; d="scan'208";a="770045408" Subject: [PATCH 13/14] libnvdimm, namespace: lift single pmem limit in scan_labels() From: Dan Williams To: linux-nvdimm@ml01.01.org Cc: linux-kernel@vger.kernel.org Date: Fri, 07 Oct 2016 09:39:50 -0700 Message-ID: <147585838991.22349.155698398778808029.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <147585832067.22349.6376523541984122050.stgit@dwillia2-desk3.amr.corp.intel.com> References: <147585832067.22349.6376523541984122050.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 685 Lines: 22 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 --- drivers/nvdimm/namespace_devs.c | 3 --- 1 file changed, 3 deletions(-) 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; } }