Commit c838abc5 authored by Wu Zhangjin's avatar Wu Zhangjin Committed by Ralf Baechle

MIPS: Oprofile: Loongson: Remove useless parentheses

Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1201/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 86e5a520
...@@ -66,7 +66,7 @@ static void loongson2_reg_setup(struct op_counter_config *cfg) ...@@ -66,7 +66,7 @@ static void loongson2_reg_setup(struct op_counter_config *cfg)
if (cfg[1].enabled) { if (cfg[1].enabled) {
ctrl |= LOONGSON2_PERFCTRL_EVENT(1, cfg[1].event); 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) { if (cfg[0].enabled || cfg[1].enabled) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment