[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20201019190429.8165-1-trix@redhat.com>
Date: Mon, 19 Oct 2020 12:04:29 -0700
From: trix@...hat.com
To: dan.j.williams@...el.com, vishal.l.verma@...el.com,
dave.jiang@...el.com, ira.weiny@...el.com
Cc: linux-nvdimm@...ts.01.org, linux-kernel@...r.kernel.org,
Tom Rix <trix@...hat.com>
Subject: [PATCH] nvdimm: remove unneeded break
From: Tom Rix <trix@...hat.com>
A break is not needed if it is preceded by a goto
Signed-off-by: Tom Rix <trix@...hat.com>
---
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
Powered by blists - more mailing lists