arm64: perf: Remove unused macro
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Tue, 2 Jul 2019 07:35:53 +0000 (15:35 +0800)
committerWill Deacon <will@kernel.org>
Tue, 23 Jul 2019 16:18:28 +0000 (17:18 +0100)
ARMV8_EVENT_ATTR_RESOLVE became unused after commit <4b1a9e6934ec>
("arm64/perf: Filter common events based on PMCEIDn_EL0").

Remove it.

Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/perf_event.c

index 96e90e270042de1846e19c077325fcd4db276e25..2d3bdebdf6df2e214b3d32152a8d0da34b62fa07 100644 (file)
@@ -157,7 +157,6 @@ armv8pmu_events_sysfs_show(struct device *dev,
        return sprintf(page, "event=0x%03llx\n", pmu_attr->id);
 }
 
-#define ARMV8_EVENT_ATTR_RESOLVE(m) #m
 #define ARMV8_EVENT_ATTR(name, config) \
        PMU_EVENT_ATTR(name, armv8_event_attr_##name, \
                       config, armv8pmu_events_sysfs_show)