Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d8c2873 authored by Wu Zhangjin's avatar Wu Zhangjin Committed by Ralf Baechle
Browse files

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



Signed-off-by: default avatarWu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1202/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent c838abc5
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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)