[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-41ac18ebfc429ce3f4d369ef07447d652999a0cd@git.kernel.org>
Date: Thu, 12 Nov 2015 05:28:56 -0800
From: tip-bot for Huang Rui <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: luto@...capital.net, tglx@...utronix.de, peterz@...radead.org,
bp@...e.de, tony.li@....com, eranian@...gle.com,
linux-kernel@...r.kernel.org, fengguang.wu@...el.com,
mingo@...nel.org, hpa@...or.com,
dasaratharaman.chandramouli@...el.com, acme@...nel.org,
ray.huang@....com, torvalds@...ux-foundation.org
Subject: [tip:perf/urgent] perf/x86/intel/rapl:
Remove the unused RAPL_EVENT_DESC() macro
Commit-ID: 41ac18ebfc429ce3f4d369ef07447d652999a0cd
Gitweb: http://git.kernel.org/tip/41ac18ebfc429ce3f4d369ef07447d652999a0cd
Author: Huang Rui <ray.huang@....com>
AuthorDate: Wed, 4 Nov 2015 17:43:53 +0800
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Thu, 12 Nov 2015 09:44:25 +0100
perf/x86/intel/rapl: Remove the unused RAPL_EVENT_DESC() macro
Signed-off-by: Huang Rui <ray.huang@....com>
Cc: Andy Lutomirski <luto@...capital.net>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Borislav Petkov <bp@...e.de>
Cc: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@...el.com>
Cc: Fengguang Wu <fengguang.wu@...el.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tony Li <tony.li@....com>
Link: http://lkml.kernel.org/r/1446630233-3166-1-git-send-email-ray.huang@amd.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/kernel/cpu/perf_event_intel_rapl.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
index 81431c0..ed446bd 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
@@ -107,12 +107,6 @@ static ssize_t __rapl_##_var##_show(struct kobject *kobj, \
static struct kobj_attribute format_attr_##_var = \
__ATTR(_name, 0444, __rapl_##_var##_show, NULL)
-#define RAPL_EVENT_DESC(_name, _config) \
-{ \
- .attr = __ATTR(_name, 0444, rapl_event_show, NULL), \
- .config = _config, \
-}
-
#define RAPL_CNTR_WIDTH 32 /* 32-bit rapl counters */
#define RAPL_EVENT_ATTR_STR(_name, v, str) \
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists