* [PATCH v3] mtd: devices: Remove superfluous "break"
@ 2021-05-14 12:44 dingsenjie
2021-05-26 9:02 ` Miquel Raynal
0 siblings, 1 reply; 2+ messages in thread
From: dingsenjie @ 2021-05-14 12:44 UTC (permalink / raw)
To: miquel.raynal, richard, vigneshr; +Cc: linux-mtd, linux-kernel, Ding Senjie
From: Ding Senjie <dingsenjie@yulong.com>
Remove superfluous "break", as there is a "return" before it.
Signed-off-by: Ding Senjie <dingsenjie@yulong.com>
---
drivers/mtd/devices/ms02-nv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/devices/ms02-nv.c b/drivers/mtd/devices/ms02-nv.c
index fb4a6aa..08f76ff 100644
--- a/drivers/mtd/devices/ms02-nv.c
+++ b/drivers/mtd/devices/ms02-nv.c
@@ -286,7 +286,6 @@ static int __init ms02nv_init(void)
break;
default:
return -ENODEV;
- break;
}
for (i = 0; i < ARRAY_SIZE(ms02nv_addrs); i++)
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3] mtd: devices: Remove superfluous "break"
2021-05-14 12:44 [PATCH v3] mtd: devices: Remove superfluous "break" dingsenjie
@ 2021-05-26 9:02 ` Miquel Raynal
0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2021-05-26 9:02 UTC (permalink / raw)
To: dingsenjie, miquel.raynal, richard, vigneshr
Cc: linux-mtd, linux-kernel, Ding Senjie
On Fri, 2021-05-14 at 12:44:51 UTC, dingsenjie@163.com wrote:
> From: Ding Senjie <dingsenjie@yulong.com>
>
> Remove superfluous "break", as there is a "return" before it.
>
> Signed-off-by: Ding Senjie <dingsenjie@yulong.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-26 9:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 12:44 [PATCH v3] mtd: devices: Remove superfluous "break" dingsenjie
2021-05-26 9:02 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).