]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mtd: spinand: winbond: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Mon, 2 Feb 2026 01:36:33 +0000 (09:36 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 3 Feb 2026 16:15:20 +0000 (17:15 +0100)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/winbond.c

index 8430ae307be0fefded8e27109403a59b9b17b089..6dfd0dcc8ee7af6bf6242ebc9daa82ad57ce6b30 100644 (file)
@@ -408,7 +408,7 @@ static int w35n0xjw_vcr_cfg(struct spinand_device *spinand,
                break;
        default:
                return -EOPNOTSUPP;
-       };
+       }
 
        dummy_cycles = ((ref_op->dummy.nbytes * 8) / ref_op->dummy.buswidth) /
                (ref_op->dummy.dtr ? 2 : 1);