Browse Source

MIPS: Oprofile: Loongson: Remove useless parentheses

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1201/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Wu Zhangjin 15 năm trước cách đây
mục cha
commit
c838abc511
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/mips/oprofile/op_model_loongson2.c

+ 1 - 1
arch/mips/oprofile/op_model_loongson2.c

@@ -66,7 +66,7 @@ static void loongson2_reg_setup(struct op_counter_config *cfg)
 
 	if (cfg[1].enabled) {
 		ctrl |= LOONGSON2_PERFCTRL_EVENT(1, cfg[1].event);
-		reg.reset_counter2 = (0x80000000ULL - cfg[1].count);
+		reg.reset_counter2 = 0x80000000ULL - cfg[1].count;
 	}
 
 	if (cfg[0].enabled || cfg[1].enabled) {