[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210510122207.03a6154b@xps13>
Date: Mon, 10 May 2021 12:22:07 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: dingsenjie@....com
Cc: richard@....at, vigneshr@...com, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, dingsenjie <dingsenjie@...ong.com>
Subject: Re: [PATCH] mtd: devices: Remove superfluous "break"
Hi dingsenjie@....com,
dingsenjie@....com wrote on Fri, 9 Apr 2021 11:09:00 +0800:
> From: dingsenjie <dingsenjie@...ong.com>
>
> Remove superfluous "break", as there is a "return" before them.
^
it
>
> Signed-off-by: dingsenjie <dingsenjie@...ong.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
Powered by blists - more mailing lists