From: Miquel Raynal <miquel.raynal@bootlin.com>
To: dingsenjie@163.com
Cc: richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org,
linux-kernel@vger.kernel.org, dingsenjie <dingsenjie@yulong.com>
Subject: Re: [PATCH] mtd: devices: Remove superfluous "break"
Date: Mon, 10 May 2021 12:22:07 +0200 [thread overview]
Message-ID: <20210510122207.03a6154b@xps13> (raw)
In-Reply-To: <20210409030900.40296-1-dingsenjie@163.com>
Hi dingsenjie@163.com,
dingsenjie@163.com wrote on Fri, 9 Apr 2021 11:09:00 +0800:
> From: dingsenjie <dingsenjie@yulong.com>
>
> Remove superfluous "break", as there is a "return" before them.
^
it
>
> Signed-off-by: dingsenjie <dingsenjie@yulong.com>
^
Please use your real name here.
> ---
> 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++)
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
prev parent reply other threads:[~2021-05-10 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-09 3:09 [PATCH] mtd: devices: Remove superfluous "break" dingsenjie
2021-05-10 10:22 ` Miquel Raynal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210510122207.03a6154b@xps13 \
--to=miquel.raynal@bootlin.com \
--cc=dingsenjie@163.com \
--cc=dingsenjie@yulong.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).