Skip to content

Commit 41ac18e

Browse files
huangruiIngo Molnar
authored andcommitted
perf/x86/intel/rapl: Remove the unused RAPL_EVENT_DESC() macro
Signed-off-by: Huang Rui <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dasaratharaman Chandramouli <[email protected]> Cc: Fengguang Wu <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tony Li <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 492cf7a commit 41ac18e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/x86/kernel/cpu/perf_event_intel_rapl.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ static ssize_t __rapl_##_var##_show(struct kobject *kobj, \
107107
static struct kobj_attribute format_attr_##_var = \
108108
__ATTR(_name, 0444, __rapl_##_var##_show, NULL)
109109

110-
#define RAPL_EVENT_DESC(_name, _config) \
111-
{ \
112-
.attr = __ATTR(_name, 0444, rapl_event_show, NULL), \
113-
.config = _config, \
114-
}
115-
116110
#define RAPL_CNTR_WIDTH 32 /* 32-bit rapl counters */
117111

118112
#define RAPL_EVENT_ATTR_STR(_name, v, str) \

0 commit comments

Comments
 (0)