Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140874
b: refs/heads/master
c: 10dd3eb
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Ingo Molnar committed Mar 6, 2009
1 parent c2d3d0d commit e2dad29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 422d3c7a577b15e1384c9d4e72a9540896b685fa
refs/heads/master: 10dd3ebe213c31bff14b4dae3c5d32a76b1fad7c
7 changes: 1 addition & 6 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,8 @@ static void ftrace_update_pid_func(void)
{
ftrace_func_t func;

mutex_lock(&ftrace_lock);

if (ftrace_trace_function == ftrace_stub)
goto out;
return;

func = ftrace_trace_function;

Expand All @@ -238,9 +236,6 @@ static void ftrace_update_pid_func(void)
#else
__ftrace_trace_function = func;
#endif

out:
mutex_unlock(&ftrace_lock);
}

/* set when tracing only a pid */
Expand Down

0 comments on commit e2dad29

Please sign in to comment.