Skip to content

Commit

Permalink
mtd: devices: Remove superfluous "break"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ding Senjie authored and Miquel Raynal committed May 26, 2021
1 parent c3c8c05 commit 5c1ce1f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mtd/devices/ms02-nv.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ static int __init ms02nv_init(void)
break;
default:
return -ENODEV;
break;
}

for (i = 0; i < ARRAY_SIZE(ms02nv_addrs); i++)
Expand Down

0 comments on commit 5c1ce1f

Please sign in to comment.