Skip to content

Commit

Permalink
x86: perf_counter cleanup
Browse files Browse the repository at this point in the history
Remove unused variables and duplicate header file.

Signed-off-by: Jaswinder Singh Rajput <jaswinder@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Jaswinder Singh Rajput authored and Ingo Molnar committed Mar 8, 2009
1 parent 184fe4a commit e255357
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/kernel/cpu/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e255357

Please sign in to comment.