Messages in this thread Patch in this message | | | From | trix@redhat ... | Subject | [PATCH] nvdimm: remove unneeded break | Date | Mon, 19 Oct 2020 12:04:29 -0700 |
| |
From: Tom Rix <trix@redhat.com>
A break is not needed if it is preceded by a goto
Signed-off-by: Tom Rix <trix@redhat.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
| |