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)
commit4191c29f0593e82d19c3cd05de67e55467aca6b5
tree4a181853f88a375f0c2089938cae82bbdbc1f3e2
parent6bedfab68666afac1b03f8d62ee037c6ab82fbc5
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