MIPS: Oprofile: Loongson: Remove useless parentheses
authorWu Zhangjin <wuzhangjin@gmail.com>
Thu, 6 May 2010 17:29:45 +0000 (01:29 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 May 2010 20:31:18 +0000 (21:31 +0100)
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>
arch/mips/oprofile/op_model_loongson2.c

index 93d8b7deb91d70540505ff444950c026df895ba1..596fb0817578978282ac18497639fa7956e1d5f4 100644 (file)
@@ -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) {