[PATCH] nvdimm: remove unneeded break

From: trix
Date: Mon Oct 19 2020 - 15:04:41 EST


From: Tom Rix <trix@xxxxxxxxxx>

A break is not needed if it is preceded by a goto

Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
---
drivers/nvdimm/claim.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/nvdimm/claim.c b/drivers/nvdimm/claim.c
index 5a7c80053c62..2f250874b1a4 100644
--- a/drivers/nvdimm/claim.c
+++ b/drivers/nvdimm/claim.c
@@ -202,7 +202,6 @@ ssize_t nd_namespace_store(struct device *dev,
default:
len = -EBUSY;
goto out_attach;
- break;
}

if (__nvdimm_namespace_capacity(ndns) < SZ_16M) {
--
2.18.1