Patchwork [AArch64] Remove excessive braces..

login
register
mail settings
Submitter Marcus Shawcroft
Date May 31, 2013, 3:45 p.m.
Message ID <51A8C5AF.2070201@arm.com>
Download mbox | patch
Permalink /patch/247978/
State New
Headers show

Comments

Marcus Shawcroft - May 31, 2013, 3:45 p.m.
Remove un-necessary braces.  Applied.
/Marcus

2013-05-31  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
	Remove un-necessary braces.

Patch

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 9c77888..f554550 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -532,9 +532,7 @@  aarch64_load_symref_appropriately (rtx dest, rtx imm,
       {
 	rtx tmp_reg = dest;
 	if (can_create_pseudo_p ())
-	  {
-	    tmp_reg =  gen_reg_rtx (Pmode);
-	  }
+	  tmp_reg =  gen_reg_rtx (Pmode);
 	emit_move_insn (tmp_reg, gen_rtx_HIGH (Pmode, imm));
 	emit_insn (gen_ldr_got_small (dest, tmp_reg, imm));
 	return;