[LLD][ELF] - Remove dead code. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 3 Jun 2019 09:23:01 +0000 (09:23 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 3 Jun 2019 09:23:01 +0000 (09:23 +0000)
I believe this line was dead after r362356.

llvm-svn: 362367

lld/ELF/LinkerScript.cpp

index 3f68e6e..71c8ff2 100644 (file)
@@ -481,7 +481,6 @@ void LinkerScript::processSectionCommands() {
       if (Sec->Name == "/DISCARD/") {
         discard(V);
         Sec->SectionCommands.clear();
-        Sec->SectionIndex = 0; // Not an orphan.
         continue;
       }