[2/4] RISC-V/gas: drop stray call to install_insn()

Message ID 3244eea0-c18c-e49a-4588-d69423130226@suse.com
State Accepted, archived
Headers
Series RISC-V/gas: assorted adjustments |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Jan Beulich Sept. 30, 2022, 11:59 a.m. UTC
  add_fixed_insn(), by calling move_insn(), already invokes install_insn().
  

Patch

--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -1476,7 +1476,6 @@  append_insn (struct riscv_cl_insn *ip, e
     }
 
   add_fixed_insn (ip);
-  install_insn (ip);
 
   /* We need to start a new frag after any instruction that can be
      optimized away or compressed by the linker during relaxation, to prevent