aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 333a5162149b..06951e229443 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -865,9 +865,6 @@ function_trace_call(unsigned long ip, unsigned long parent_ip)
865 if (unlikely(!ftrace_function_enabled)) 865 if (unlikely(!ftrace_function_enabled))
866 return; 866 return;
867 867
868 if (skip_trace(ip))
869 return;
870
871 pc = preempt_count(); 868 pc = preempt_count();
872 resched = need_resched(); 869 resched = need_resched();
873 preempt_disable_notrace(); 870 preempt_disable_notrace();