summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
authorDing Senjie <dingsenjie@yulong.com>2021-05-14 20:44:51 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-05-26 10:58:26 +0200
commit5c1ce1fb8a2d434a485175d6ae38aea40ebd5de4 (patch)
tree1fa57d3ba71d900f5c2b60397b9f30143f547c36 /drivers/mtd/devices
parentc3c8c051df3ee5042dd91593593a8b0e008f4c85 (diff)
downloadlinux-5c1ce1fb8a2d434a485175d6ae38aea40ebd5de4.tar.gz
linux-5c1ce1fb8a2d434a485175d6ae38aea40ebd5de4.tar.bz2
linux-5c1ce1fb8a2d434a485175d6ae38aea40ebd5de4.zip
mtd: devices: Remove superfluous "break"
Remove superfluous "break", as there is a "return" before it. Signed-off-by: Ding Senjie <dingsenjie@yulong.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210514124451.20352-1-dingsenjie@163.com
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r--drivers/mtd/devices/ms02-nv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/ms02-nv.c b/drivers/mtd/devices/ms02-nv.c
index fb4a6aa24543..08f76ff839a7 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++)