Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140722
b: refs/heads/master
c: f54fc98
h: refs/heads/master
v: v3
  • Loading branch information
Wenji Huang authored and Steven Rostedt committed Feb 10, 2009
1 parent 04532b4 commit a7b6f34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 4543ae7ce1cb8b5ff27a59009e7991ea63791a71
refs/heads/master: f54fc98aa656f334c1571df6e3ca9178ea223847
4 changes: 1 addition & 3 deletions trunk/kernel/trace/trace_branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ void trace_likely_condition(struct ftrace_branch_data *f, int val, int expect)

int enable_branch_tracing(struct trace_array *tr)
{
int ret = 0;

mutex_lock(&branch_tracing_mutex);
branch_tracer = tr;
/*
Expand All @@ -103,7 +101,7 @@ int enable_branch_tracing(struct trace_array *tr)
branch_tracing_enabled++;
mutex_unlock(&branch_tracing_mutex);

return ret;
return 0;
}

void disable_branch_tracing(void)
Expand Down

0 comments on commit a7b6f34

Please sign in to comment.