diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-09-14 23:39:46 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-09-30 21:24:05 -0400 |
commit | dfc05b55c3c6b15dbd889e9901ecb3fb695421bd (patch) | |
tree | 56df95cdd0b193b408da7cc5c45183e940a76649 /kernel/kprobes.c | |
parent | kprobes: Fix coding style issues (diff) | |
download | linux-dev-dfc05b55c3c6b15dbd889e9901ecb3fb695421bd.tar.xz linux-dev-dfc05b55c3c6b15dbd889e9901ecb3fb695421bd.zip |
kprobes: Use IS_ENABLED() instead of kprobes_built_in()
Use IS_ENABLED(CONFIG_KPROBES) instead of kprobes_built_in().
This inline function is introduced only for avoiding #ifdef.
But since now we have IS_ENABLED(), it is no longer needed.
Link: https://lkml.kernel.org/r/163163038581.489837.2805250706507372658.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions