Skip to content
Commit 08468754 authored by Changbin Du's avatar Changbin Du Committed by Steven Rostedt (VMware)
Browse files

ftrace: Simplify ftrace hash lookup code in clear_func_from_hash()



Function ftrace_lookup_ip() will check empty hash table. So we don't
need extra check outside.

Link: http://lkml.kernel.org/r/20190910143336.13472-1-changbin.du@gmail.com

Signed-off-by: default avatarChangbin Du <changbin.du@gmail.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent ac681546
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment