提交 6d8c2873 编写于 作者: W Wu Zhangjin 提交者: Ralf Baechle

MIPS: Oprofile: Loongson: Remove unused variable from loongson2_cpu_setup()

Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1202/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 c838abc5
......@@ -88,10 +88,7 @@ static void loongson2_reg_setup(struct op_counter_config *cfg)
static void loongson2_cpu_setup(void *args)
{
uint64_t perfcount;
perfcount = (reg.reset_counter2 << 32) | reg.reset_counter1;
write_c0_perfcnt(perfcount);
write_c0_perfcnt((reg.reset_counter2 << 32) | reg.reset_counter1);
}
static void loongson2_cpu_start(void *args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册