diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h b/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h index 01d95d8ac936..9a71836d8374 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsELFReader.h @@ -17,8 +17,6 @@ namespace lld { namespace elf { -typedef llvm::object::ELFType Mips32ElELFType; - struct MipsELFFileCreateTraits { typedef llvm::ErrorOr> result_type; diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp index 331a1d7e90e8..ed80a48e4444 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp @@ -16,8 +16,6 @@ using namespace lld; using namespace elf; -typedef llvm::object::ELFType Mips32ElELFType; - MipsTargetHandler::MipsTargetHandler(MipsLinkingContext &ctx) : _ctx(ctx), _runtimeFile(new MipsRuntimeFile(ctx)), _targetLayout(new MipsTargetLayout(ctx)),