From: Chen Ni Date: Mon, 20 Oct 2025 02:09:16 +0000 (+0800) Subject: objtool: Remove unneeded semicolon X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5eccd322390e20ca2385f4a4b34ab60e7258ad48;p=thirdparty%2Flinux.git objtool: 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 Link: https://patch.msgid.link/20251020020916.1070369-1-nichen@iscas.ac.cn Signed-off-by: Josh Poimboeuf --- diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c index 5feeefc7fc8f8..3f20b257ab25c 100644 --- a/tools/objtool/elf.c +++ b/tools/objtool/elf.c @@ -451,7 +451,7 @@ static const char *demangle_name(struct symbol *sym) str[i + 1] = '\0'; break; } - }; + } return str; }