Skip to content

Commit c7f69dc

Browse files
Dapeng MiPeter Zijlstra
authored andcommitted
perf/x86: Remove redundant is_x86_event() prototype
2 is_x86_event() prototypes are defined in perf_event.h. Remove the redundant one. Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20251029102136.61364-2-dapeng1.mi@linux.intel.com
1 parent cf76553 commit c7f69dc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/x86/events/perf_event.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,6 @@ static struct perf_pmu_format_hybrid_attr format_attr_hybrid_##_name = {\
11241124
.pmu_type = _pmu, \
11251125
}
11261126

1127-
int is_x86_event(struct perf_event *event);
11281127
struct pmu *x86_get_pmu(unsigned int cpu);
11291128
extern struct x86_pmu x86_pmu __read_mostly;
11301129

0 commit comments

Comments
 (0)