Remove redundant argument. NFC.
llvm-svn: 299713
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h
index e1fc3c4..f27eb65 100644
--- a/lld/ELF/LinkerScript.h
+++ b/lld/ELF/LinkerScript.h
@@ -224,7 +224,7 @@
std::vector<size_t> getPhdrIndices(StringRef SectionName);
size_t getPhdrIndex(const Twine &Loc, StringRef PhdrName);
- MemoryRegion *findMemoryRegion(OutputSectionCommand *Cmd, OutputSection *Sec);
+ MemoryRegion *findMemoryRegion(OutputSectionCommand *Cmd);
void switchTo(OutputSection *Sec);
void flush();