summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/perf_event.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2010-08-25 14:49:09 +0800
committerIngo Molnar <mingo@elte.hu>2010-08-25 13:09:41 +0200
commit04fba67163a9e6132614b72b33bb2743bd33ffb3 (patch)
treeed7abd5530fa7b69373ab8cde875e49b33d70c60 /arch/x86/kernel/cpu/perf_event.c
parent612d4fd7d0c4a866a531099d4cdd0424c1058321 (diff)
perf: Remove unused variable
This fixes the following build warning introduced by the callchain rework: arch/x86/kernel/cpu/perf_event.c:1574: warning: ‘perf_callchain_entry_nmi’ defined but not used Signed-off-by: Lin Ming <ming.m.lin@intel.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <1282718949.16443.75.camel@minggr.sh.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.c')
-rw-r--r--arch/x86/kernel/cpu/perf_event.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index acc52afaf7bf..bcddac61422c 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -1571,9 +1571,6 @@ const struct pmu *hw_perf_event_init(struct perf_event *event)
* callchain support
*/
-static DEFINE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry_nmi);
-
-
static void
backtrace_warning_symbol(void *data, char *msg, unsigned long symbol)
{