mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
kprobes: remove redundant config check
I noticed that there's a CONFIG_KPROBES check inside kernel/kprobes.c, which is redundant. Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com> Acked-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ef53d9c5e4
commit
8b6dd98682
@ -1337,13 +1337,8 @@ EXPORT_SYMBOL_GPL(register_jprobe);
|
||||
EXPORT_SYMBOL_GPL(unregister_jprobe);
|
||||
EXPORT_SYMBOL_GPL(register_jprobes);
|
||||
EXPORT_SYMBOL_GPL(unregister_jprobes);
|
||||
#ifdef CONFIG_KPROBES
|
||||
EXPORT_SYMBOL_GPL(jprobe_return);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_KPROBES
|
||||
EXPORT_SYMBOL_GPL(register_kretprobe);
|
||||
EXPORT_SYMBOL_GPL(unregister_kretprobe);
|
||||
EXPORT_SYMBOL_GPL(register_kretprobes);
|
||||
EXPORT_SYMBOL_GPL(unregister_kretprobes);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user