[ELF] - Removed unused template #2. NFC.

llvm-svn: 297941
This commit is contained in:
George Rimar
2017-03-16 10:48:40 +00:00
parent 814e0df1c5
commit d3ea775894

View File

@@ -861,7 +861,6 @@ template <class ELFT> void scanRelocations(InputSectionBase &S) {
// in the Sections vector, and recalculate the InputSection output section
// offsets.
// This may invalidate any output section offsets stored outside of InputSection
template <class ELFT>
static void mergeThunks(OutputSection *OS,
std::vector<ThunkSection *> &Thunks) {
// Order Thunks in ascending OutSecOff
@@ -983,7 +982,7 @@ bool createThunks(ArrayRef<OutputSection *> OutputSections) {
// Merge all created synthetic ThunkSections back into OutputSection
for (auto &KV : ThunkSections)
mergeThunks<ELFT>(KV.first, KV.second);
mergeThunks(KV.first, KV.second);
return !ThunkSections.empty();
}