summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2019-06-04 14:25:08 +0100
committerNick Clifton <nickc@redhat.com>2019-06-04 14:25:08 +0100
commita9d96ab97edabea31bed089bfd4caca80838e31c (patch)
tree0d2f39d54e98fc2e7df87f6911d31fff607f8967
parent1ff30553d8972fb027d77d76d29643f2173f17d6 (diff)
downloadbinutils-gdb-a9d96ab97edabea31bed089bfd4caca80838e31c.tar.gz
Remove an unnecessary set of parentheses in the arm-dis.c source file.
* arm-dis.c (is_mve_unpredictable): Remove spurious paranthesis.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/arm-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 3ee875d6c84..9645cf71475 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-04 Alan Hayward <alan.hayward@arm.com>
+
+ * arm-dis.c (is_mve_unpredictable): Remove spurious paranthesis.
+
2019-06-03 Alan Modra <amodra@gmail.com>
* ppc-dis.c (prefix_opcd_indices): Correct size.
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 0503d9365d1..03aebb571a6 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -6619,7 +6619,7 @@ is_mve_unpredictable (unsigned long given, enum mve_instructions matched_insn,
= arm_decode_field_multiple (given, 13, 15, 22, 22);
unsigned long Qn = arm_decode_field_multiple (given, 17, 19, 7, 7);
- if ((Qd == Qn))
+ if (Qd == Qn)
{
*unpredictable_code = UNPRED_Q_REGS_EQ_AND_SIZE_1;
return TRUE;