objtool: Remove redundant .rodata section name comparison
If the prefix of section name is not '.rodata', the following
function call can never return 0.
strcmp(sec->name, C_JUMP_TABLE_SECTION)
So the name comparison is pointless, just remove it.
Signed-off-by:
Muchun Song <songmuchun@bytedance.com>
Signed-off-by:
Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by:
Ingo Molnar <mingo@kernel.org>
Loading
Please sign in to comment