]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
objtool: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Mon, 20 Oct 2025 02:09:16 +0000 (10:09 +0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Thu, 30 Oct 2025 15:29:46 +0000 (08:29 -0700)
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>
tools/objtool/elf.c

index 5feeefc7fc8f80e9e28bb0163d6b4925de67f2b6..3f20b257ab25cb7b70cb4e3b8cbf7a69a54634fa 100644 (file)
@@ -451,7 +451,7 @@ static const char *demangle_name(struct symbol *sym)
                        str[i + 1] = '\0';
                        break;
                }
-       };
+       }
 
        return str;
 }