Skip to content

Commit

Permalink
perf: Remove unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lin Ming authored and Ingo Molnar committed Aug 25, 2010
1 parent 612d4fd commit 04fba67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/kernel/cpu/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 04fba67

Please sign in to comment.