[Mips] Remove redundant declarations (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 25 Sep 2021 14:41:10 +0000 (07:41 -0700)
committerKazu Hirata <kazu@google.com>
Sat, 25 Sep 2021 14:41:11 +0000 (07:41 -0700)
Note that identical declarations immediately precede what's being
removed in this patch.

Identified with readability-redundant-declaration.

llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp

index 6f197e4245613f2ecf211f7c8b99cb7f26946c24..d11bddc4858b83734503df17e897c2788eb9c225 100644 (file)
@@ -454,14 +454,6 @@ template <typename InsnType>
 static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
                                    const void *Decoder);
 
-template <typename InsnType>
-static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn,
-                                       uint64_t Address, const void *Decoder);
-
-template <typename InsnType>
-static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
-                                   const void *Decoder);
-
 template <typename InsnType>
 static DecodeStatus
 DecodeAddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,