Skip to content

Commit 9d35113

Browse files
author
Ingo Molnar
committed
perf/x86/cstate: Remove unused 'struct perf_cstate_msr'
Use of this structure was removed in: 8f2a28c ("perf/x86/cstate: Use new probe function") Remove the now stale type as well. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: linux-kernel@vger.kernel.org Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 626c5ac commit 9d35113

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/x86/events/intel/cstate.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,6 @@ struct cstate_model {
143143
#define SLM_PKG_C6_USE_C7_MSR (1UL << 0)
144144
#define KNL_CORE_C6_MSR (1UL << 1)
145145

146-
struct perf_cstate_msr {
147-
u64 msr;
148-
struct perf_pmu_events_attr *attr;
149-
};
150-
151-
152146
/* cstate_core PMU */
153147
static struct pmu cstate_core_pmu;
154148
static bool has_cstate_core;

0 commit comments

Comments
 (0)