[ELF] Delete dead SHT_NOBITS->SHT_PROGBITS code after r358981

After D60131/r358981, we no longer create SHT_NOBITS sections that may
contain ByteCommand (BYTE, SHORT, LONG, QUAD).

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@362108 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/ELF/OutputSections.cpp b/ELF/OutputSections.cpp
index becca83..8927b69 100644
--- a/ELF/OutputSections.cpp
+++ b/ELF/OutputSections.cpp
@@ -273,11 +273,6 @@
 }
 
 void OutputSection::finalize() {
-  if (Type == SHT_NOBITS)
-    for (BaseCommand *Base : SectionCommands)
-      if (isa<ByteCommand>(Base))
-        Type = SHT_PROGBITS;
-
   std::vector<InputSection *> V = getInputSections(this);
   InputSection *First = V.empty() ? nullptr : V[0];