diff options
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r-- | kernel/trace/ftrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 54cb9a7d15e5..3160254f6c7e 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -334,7 +334,7 @@ ftrace_record_ip(unsigned long ip) | |||
334 | { | 334 | { |
335 | struct dyn_ftrace *rec; | 335 | struct dyn_ftrace *rec; |
336 | 336 | ||
337 | if (!ftrace_enabled || ftrace_disabled) | 337 | if (ftrace_disabled) |
338 | return NULL; | 338 | return NULL; |
339 | 339 | ||
340 | rec = ftrace_alloc_dyn_node(ip); | 340 | rec = ftrace_alloc_dyn_node(ip); |