This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Remove an unnecessary set of parentheses in the arm-dis.c source file.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 4 Jun 2019 13:25:40 -0000
- Subject: [binutils-gdb] Remove an unnecessary set of parentheses in the arm-dis.c source file.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a9d96ab97edabea31bed089bfd4caca80838e31c
commit a9d96ab97edabea31bed089bfd4caca80838e31c
Author: Alan Hayward <alan.hayward@arm.com>
Date: Tue Jun 4 14:25:08 2019 +0100
Remove an unnecessary set of parentheses in the arm-dis.c source file.
* arm-dis.c (is_mve_unpredictable): Remove spurious paranthesis.
Diff:
---
opcodes/ChangeLog | 4 ++++
opcodes/arm-dis.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 3ee875d..9645cf7 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 0503d93..03aebb5 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;