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

Chen Ni posted 1 patch 5 days, 1 hour ago
drivers/mtd/nand/spi/winbond.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd: spinand: winbond: Remove unneeded semicolon
Posted by Chen Ni 5 days, 1 hour ago
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>
---
 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
Re: [PATCH] mtd: spinand: winbond: Remove unneeded semicolon
Posted by Miquel Raynal 3 days, 11 hours ago
On Mon, 02 Feb 2026 09:36:33 +0800, Chen Ni wrote:
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> 

Applied to nand/next, thanks!

[1/1] mtd: spinand: winbond: Remove unneeded semicolon
      commit: 0f8a217670b6e3c28afff5cdf5985190633f62e1

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl