Merge pull request #957 from wwheart/master

create-diff-object: remove unneeded condition
This commit is contained in:
Joe Lawrence 2019-05-10 17:06:54 -04:00 committed by GitHub
commit bfe1c74d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2748,7 +2748,8 @@ static void kpatch_create_intermediate_sections(struct kpatch_elf *kelf,
if (!is_rela_section(sec))
continue;
if (!strcmp(sec->name, ".rela.kpatch.funcs") ||
!strcmp(sec->name, ".rela.kpatch.dynrelas"))
!strcmp(sec->name, ".rela.kpatch.relocations") ||
!strcmp(sec->name, ".rela.kpatch.symbols"))
continue;
list_for_each_entry_safe(rela, safe, &sec->relas, list) {
if (!rela->need_dynrela)