Skip to content

Commit ce4db75

Browse files
gscuimhiramat
authored andcommitted
kprobes: Remove obsoleted declaration for init_test_probes
The init_test_probes() have been removed since commit e44e81c ("kprobes: convert tests to kunit"), and now it is useless, so remove it. Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Gaosheng Cui <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
1 parent 10cdb82 commit ce4db75

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

include/linux/kprobes.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -269,15 +269,6 @@ extern unsigned long __stop_kprobe_blacklist[];
269269

270270
extern struct kretprobe_blackpoint kretprobe_blacklist[];
271271

272-
#ifdef CONFIG_KPROBES_SANITY_TEST
273-
extern int init_test_probes(void);
274-
#else /* !CONFIG_KPROBES_SANITY_TEST */
275-
static inline int init_test_probes(void)
276-
{
277-
return 0;
278-
}
279-
#endif /* CONFIG_KPROBES_SANITY_TEST */
280-
281272
extern int arch_prepare_kprobe(struct kprobe *p);
282273
extern void arch_arm_kprobe(struct kprobe *p);
283274
extern void arch_disarm_kprobe(struct kprobe *p);

0 commit comments

Comments
 (0)