Delete dead code.

llvm-svn: 319403
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp
index 2f6f7e7..2c628b9 100644
--- a/lld/ELF/InputSection.cpp
+++ b/lld/ELF/InputSection.cpp
@@ -214,10 +214,6 @@
   this->Flags &= ~(uint64_t)SHF_COMPRESSED;
 }
 
-uint64_t SectionBase::getOffset(const Defined &Sym) const {
-  return getOffset(Sym.Value);
-}
-
 InputSection *InputSectionBase::getLinkOrderDep() const {
   if ((Flags & SHF_LINK_ORDER) && Link != 0) {
     InputSectionBase *L = File->getSections()[Link];
diff --git a/lld/ELF/InputSection.h b/lld/ELF/InputSection.h
index de2cc68..4ed040b 100644
--- a/lld/ELF/InputSection.h
+++ b/lld/ELF/InputSection.h
@@ -73,8 +73,6 @@
   // section.
   uint64_t getOffset(uint64_t Offset) const;
 
-  uint64_t getOffset(const Defined &Sym) const;
-
 protected:
   SectionBase(Kind SectionKind, StringRef Name, uint64_t Flags,
               uint64_t Entsize, uint64_t Alignment, uint32_t Type,