summaryrefslogtreecommitdiff
path: root/tools/objtool/elf.c
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2025-10-20 10:09:16 +0800
committerJosh Poimboeuf <jpoimboe@kernel.org>2025-10-30 08:29:46 -0700
commit5eccd322390e20ca2385f4a4b34ab60e7258ad48 (patch)
treef36af7bd44124b9227e52bb20fd5582cb1f6981c /tools/objtool/elf.c
parent0ccf30fc64acca8e43a54a4f54fb3a4f155d4692 (diff)
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 <nichen@iscas.ac.cn> Link: https://patch.msgid.link/20251020020916.1070369-1-nichen@iscas.ac.cn Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool/elf.c')
-rw-r--r--tools/objtool/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c
index 5feeefc7fc8f..3f20b257ab25 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;
}