diff options
author | Muchun Song <[email protected]> | 2020-04-12 22:44:05 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-04-22 10:53:50 +0200 |
commit | 1ee444700e960b017558038a9443474e808b0045 (patch) | |
tree | c7febd5e41265e480b6235e1ae4def29ce80fc66 /lib/mpi/mpi-add.c | |
parent | e378fa17d3fac5b118381923abd2636f45a98c6e (diff) |
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 <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions