[PATCH] mtd: spinand: winbond: Remove unneeded semicolon

Chen Ni nichen at iscas.ac.cn
Sun Feb 1 17:36:33 PST 2026


Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen at iscas.ac.cn>
---
 drivers/mtd/nand/spi/winbond.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c
index 8430ae307be0..6dfd0dcc8ee7 100644
--- a/drivers/mtd/nand/spi/winbond.c
+++ b/drivers/mtd/nand/spi/winbond.c
@@ -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);
-- 
2.25.1




More information about the linux-mtd mailing list