]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool/klp: Remove redundant strcmp() in correlate_symbols()
authorSong Liu <song@kernel.org>
Thu, 5 Mar 2026 23:15:25 +0000 (15:15 -0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Fri, 6 Mar 2026 16:08:23 +0000 (08:08 -0800)
commita1cbaff2ea23645f0a94fdfa721aef202aebdf86
tree4bf94562aceef053d926884a02e395a8dd8c5a40
parentc19c854b307424c745dd6de73eea8db099c79408
objtool/klp: Remove redundant strcmp() in correlate_symbols()

find_global_symbol_by_name() already compares names of the two symbols,
so there is no need to compare them again.

Signed-off-by: Song Liu <song@kernel.org>
Link: https://patch.msgid.link/20260305231531.3847295-2-song@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/klp-diff.c