ftrace: remove unnecessary if condition of __unregister_ftrace_function
authorwalimis <walimisdev@gmail.com>
Thu, 13 Nov 2008 16:21:02 +0000 (00:21 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 13 Nov 2008 18:36:30 +0000 (19:36 +0100)
commitb3535c6390f27d04273e4eee0bc687f171fbf5f4
treea0160e2b70acc1743d6d3c68d149df9673d78fde
parent12ef7d448613ead2babd41c3ebfa1fe03c20edef
ftrace: remove unnecessary if condition of __unregister_ftrace_function

Because it has goto out before ftrace_list == &ftrace_list_end,
that's to say, we never meet this condition.

Signed-off-by: walimis <walimisdev@gmail.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c