perf/x86: Remove unused variable 'cpu_type'
authorRafael Mendonca <rafaelmendsr@gmail.com>
Fri, 28 Oct 2022 20:30:05 +0000 (17:30 -0300)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 15 Nov 2022 21:30:11 +0000 (22:30 +0100)
commit8e356858be2989355aafcc96af541fedf9fb486f
treed91f1256e6f3a490b89b3e18eb478049ae04967d
parent571f97f7d51fa81e6cc0e00f0f6314792ce533a3
perf/x86: Remove unused variable 'cpu_type'

Since the removal of function x86_pmu_update_cpu_context() by commit
983bd8543b5a ("perf: Rewrite core context handling"), there is no need to
query the type of the hybrid CPU inside function init_hw_perf_events().

Fixes: 983bd8543b5a ("perf: Rewrite core context handling")
Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221028203006.976831-1-rafaelmendsr@gmail.com
arch/x86/events/core.c