mtd: remove unneeded break
authorTom Rix <trix@redhat.com>
Mon, 19 Oct 2020 19:16:31 +0000 (12:16 -0700)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 28 Oct 2020 10:58:11 +0000 (11:58 +0100)
commit232b67c399424948107fbffe4402a102121a2622
tree586b5edbb6af2d4a4be58c856c4850f7a05c610d
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
mtd: remove unneeded break

A break is not needed if it is preceded by a return

Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201019191631.9604-1-trix@redhat.com
drivers/mtd/mtdchar.c