]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/uncore: Fix compilation warning in snb_uncore_imc_init_box()
authorStephane Eranian <eranian@google.com>
Tue, 11 Mar 2014 23:53:30 +0000 (00:53 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 Mar 2014 09:49:13 +0000 (10:49 +0100)
commitc3670c2e24e0bed3961ad0c7583f06273c7494b3
tree4a181853f88a375f0c2089938cae82bbdbc1f3e2
parent3d05c491cb9acf1bff7dccf4f93ec01d611e2b85
perf/x86/uncore: Fix compilation warning in snb_uncore_imc_init_box()

This patch fixes a compilation problem (unused variable) with the
new SNB/IVB/HSW uncore IMC code.

[ In -v2 we simplify the fix as suggested by Peter Zjilstra. ]

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20140311235329.GA28624@quad
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_uncore.c