[PATCH] objtool: Remove unneeded semicolon
From: Chen Ni
Date: Sun Oct 19 2025 - 22:10:13 EST
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Chen Ni <nichen@xxxxxxxxxxx>
---
tools/objtool/elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.25.1