rocr: delete duplicated conditional expression

Change-Id: Idc8b1a8ca2975f33191a448f03cabf3fc4f8f8a6


[ROCm/ROCR-Runtime commit: a82f2f3134]
Αυτή η υποβολή περιλαμβάνεται σε:
Min Zhou authored and David Yat Sin committed 2025-01-28 10:48:44 -05:00
1 γονέας 17807d78bd
υποβολή ee1ff92026
1 file changed
+1 -1
@@ -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()); }