perf: Remove unused variable
authorLin Ming <ming.m.lin@intel.com>
Wed, 25 Aug 2010 06:49:09 +0000 (14:49 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Aug 2010 11:09:41 +0000 (13:09 +0200)
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>
arch/x86/kernel/cpu/perf_event.c

index acc52afaf7bf8174e9e58474bfb2bb162496955c..bcddac61422c1147d6d0b986fec616117198877f 100644 (file)
@@ -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)
 {