History

hw_breakpoint: Remove unused __register_perf_hw_breakpoint() declaration

Commit: b326e9560a28 ("hw-breakpoints: Use overflow handler instead of the event callback") removed __register_perf_hw_breakpoint() function usage and replaced it with register_perf_hw_breakpoint() function. Remove the left-over unused __register_perf_hw_breakpoint() declaration from <linux/hw_breakpoint.h> as well.

Bhupesh Sharma committed 6 years ago

Commit b55b3fd1 parent 09fc67b1 file · +0 −3Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/hw_breakpoint.h+0−3
@@ -72,7 +72,6 @@ register_wide_hw_breakpoint(struct perf_event_attr *attr, · 71 unmodified lines
7272 void *context);
7373
7474 extern int register_perf_hw_breakpoint(struct perf_event *bp);
75−extern int __register_perf_hw_breakpoint(struct perf_event *bp);
7675 extern void unregister_hw_breakpoint(struct perf_event *bp);
7776 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
7877
@@ -119,8 +118,6 @@ register_wide_hw_breakpoint(struct perf_event_attr *attr, · 40 unmodified lines
119118 void *context) { return NULL; }
120119 static inline int
121120 register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; }
122−static inline int
123−__register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; }
124121 static inline void unregister_hw_breakpoint(struct perf_event *bp) { }
125122 static inline void
126123 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t