]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
misc: eeprom/m24lr: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Thu, 21 Aug 2025 08:18:04 +0000 (16:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:58:18 +0000 (15:58 +0200)
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>
Reviewed-by: Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com>
Link: https://lore.kernel.org/r/20250821081804.3168680-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/m24lr.c

index 0e37f74881ce24f1da0f39e38d5d481924bfb46f..7a9fd45a8e460c48dfb33dd34f5e7c654b9b6a6a 100644 (file)
@@ -350,7 +350,7 @@ static ssize_t m24lr_read_reg_le(struct m24lr *m24lr, u64 *val,
                break;
        default:
                return -EINVAL;
-       };
+       }
 
        return 0;
 }