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

Commit e2553577 authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput Committed by Ingo Molnar
Browse files

x86: perf_counter cleanup



Remove unused variables and duplicate header file.

Signed-off-by: default avatarJaswinder Singh Rajput <jaswinder@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 184fe4ab
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
#include <linux/kdebug.h>
#include <linux/sched.h>

#include <asm/perf_counter.h>
#include <asm/apic.h>

static bool perf_counters_initialized __read_mostly;
@@ -954,9 +953,6 @@ static struct pmc_x86_ops *pmc_intel_init(void)

static struct pmc_x86_ops *pmc_amd_init(void)
{
	u64 old;
	int bits;

	nr_counters_generic = 4;
	nr_counters_fixed = 0;
	counter_value_mask = 0x0000FFFFFFFFFFFFULL;