diff options
| author | Abhishek Sagar <sagar.abhishek@gmail.com> | 2008-06-01 12:17:42 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-06-10 05:57:49 -0400 |
| commit | 1d74f2a0f64b4091e5e91b55ac1b17dff93f4b59 (patch) | |
| tree | 8777ee5d38cf27939687adf2dc3d2a9a5f60b33d /kernel/trace | |
| parent | 0eb967012ea15e6e8cfab483d9fa37bc602d400c (diff) | |
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>
Diffstat (limited to 'kernel/trace')
| -rw-r--r-- | kernel/trace/ftrace.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index ec54cb7d69d6..a8929e4c77c1 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
| @@ -306,13 +306,6 @@ ftrace_record_ip(unsigned long ip) | |||
| 306 | if (ftrace_ip_in_hash(ip, key)) | 306 | if (ftrace_ip_in_hash(ip, key)) |
| 307 | goto out_unlock; | 307 | goto out_unlock; |
| 308 | 308 | ||
| 309 | /* | ||
| 310 | * There's a slight race that the ftraced will update the | ||
| 311 | * hash and reset here. If it is already converted, skip it. | ||
| 312 | */ | ||
| 313 | if (ftrace_ip_converted(ip)) | ||
| 314 | goto out_unlock; | ||
| 315 | |||
| 316 | node = ftrace_alloc_dyn_node(ip); | 309 | node = ftrace_alloc_dyn_node(ip); |
| 317 | if (!node) | 310 | if (!node) |
| 318 | goto out_unlock; | 311 | goto out_unlock; |
