aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/trace/ftrace.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index ec54cb7d69d6..a8929e4c77c1 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -306,13 +306,6 @@ ftrace_record_ip(unsigned long ip)
306 if (ftrace_ip_in_hash(ip, key)) 306 if (ftrace_ip_in_hash(ip, key))
307 goto out_unlock; 307 goto out_unlock;
308 308
309 /*
310 * There's a slight race that the ftraced will update the
311 * hash and reset here. If it is already converted, skip it.
312 */
313 if (ftrace_ip_converted(ip))
314 goto out_unlock;
315
316 node = ftrace_alloc_dyn_node(ip); 309 node = ftrace_alloc_dyn_node(ip);
317 if (!node) 310 if (!node)
318 goto out_unlock; 311 goto out_unlock;