ftrace: remove ftrace_ip_converted()
Remove the unneeded function ftrace_ip_converted(). Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
0eb967012e
commit
1d74f2a0f6
@ -306,13 +306,6 @@ ftrace_record_ip(unsigned long ip)
|
||||
if (ftrace_ip_in_hash(ip, key))
|
||||
goto out_unlock;
|
||||
|
||||
/*
|
||||
* There's a slight race that the ftraced will update the
|
||||
* hash and reset here. If it is already converted, skip it.
|
||||
*/
|
||||
if (ftrace_ip_converted(ip))
|
||||
goto out_unlock;
|
||||
|
||||
node = ftrace_alloc_dyn_node(ip);
|
||||
if (!node)
|
||||
goto out_unlock;
|
||||
|
Reference in New Issue
Block a user