rocr: delete duplicated conditional expression

Change-Id: Idc8b1a8ca2975f33191a448f03cabf3fc4f8f8a6


[ROCm/ROCR-Runtime commit: a82f2f3134]
Esse commit está contido em:
Min Zhou
2025-01-28 00:34:46 +00:00
commit de David Yat Sin
commit ee1ff92026
@@ -1456,7 +1456,7 @@ namespace elf {
}
for (size_t i = 1; i < sections.size(); ++i) {
if (i == ehdr.e_shstrndx || i == ehdr.e_shstrndx) { continue; }
if (i == ehdr.e_shstrndx) { continue; }
std::unique_ptr<GElfSection>& section = sections[i];
if (section->type() == SHT_STRTAB) { strtabSection = static_cast<GElfStringTable*>(section.get()); }
if (section->type() == SHT_SYMTAB) { symtabSection = static_cast<GElfSymbolTable*>(section.get()); }