Inline a small function. NFC.

llvm-svn: 299593
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 680d8c1..17bf037 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -148,10 +148,6 @@
   Phdrs.erase(I, Phdrs.end());
 }
 
-static uint64_t getOutputFlags(InputSectionBase *S) {
-  return S->Flags & ~(uint64_t)(SHF_GROUP | SHF_COMPRESSED);
-}
-
 // This function scans over the input sections and creates mergeable
 // synthetic sections. It removes MergeInputSections from array and
 // adds new synthetic ones. Each synthetic section is added to the
@@ -169,7 +165,7 @@
       continue;
 
     StringRef OutsecName = getOutputSectionName(MS->Name);
-    uint64_t Flags = getOutputFlags(MS);
+    uint64_t Flags = MS->Flags & ~(uint64_t)(SHF_GROUP | SHF_COMPRESSED);
     uint32_t Alignment = std::max<uint32_t>(MS->Alignment, MS->Entsize);
 
     auto I =