[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250821081804.3168680-1-nichen@iscas.ac.cn>
Date: Thu, 21 Aug 2025 16:18:04 +0800
From: Chen Ni <nichen@...as.ac.cn>
To: arnd@...db.de,
gregkh@...uxfoundation.org,
abd.masalkhi@...il.com
Cc: linux-kernel@...r.kernel.org,
Chen Ni <nichen@...as.ac.cn>
Subject: [PATCH] misc: eeprom/m24lr: Remove unneeded semicolon
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Chen Ni <nichen@...as.ac.cn>
---
drivers/misc/eeprom/m24lr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/eeprom/m24lr.c b/drivers/misc/eeprom/m24lr.c
index 0e37f74881ce..7a9fd45a8e46 100644
--- a/drivers/misc/eeprom/m24lr.c
+++ b/drivers/misc/eeprom/m24lr.c
@@ -350,7 +350,7 @@ static ssize_t m24lr_read_reg_le(struct m24lr *m24lr, u64 *val,
break;
default:
return -EINVAL;
- };
+ }
return 0;
}
--
2.25.1
Powered by blists - more mailing lists