diff options
author | Abhishek Sagar <sagar.abhishek@gmail.com> | 2008-06-01 21:47:42 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-10 11:57:49 +0200 |
commit | 1d74f2a0f64b4091e5e91b55ac1b17dff93f4b59 (patch) | |
tree | 8777ee5d38cf27939687adf2dc3d2a9a5f60b33d /arch/x86 | |
parent | 0eb967012ea15e6e8cfab483d9fa37bc602d400c (diff) | |
download | kernel_samsung_tuna-1d74f2a0f64b4091e5e91b55ac1b17dff93f4b59.zip kernel_samsung_tuna-1d74f2a0f64b4091e5e91b55ac1b17dff93f4b59.tar.gz kernel_samsung_tuna-1d74f2a0f64b4091e5e91b55ac1b17dff93f4b59.tar.bz2 |
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 'arch/x86')
-rw-r--r-- | arch/x86/kernel/ftrace.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c index 498608c..bc5cf8d 100644 --- a/arch/x86/kernel/ftrace.c +++ b/arch/x86/kernel/ftrace.c @@ -31,16 +31,6 @@ union ftrace_code_union { } __attribute__((packed)); }; -notrace int ftrace_ip_converted(unsigned long ip) -{ - unsigned long save; - - ip -= CALL_BACK; - save = *(long *)ip; - - return save == *ftrace_nop; -} - static int notrace ftrace_calc_offset(long ip, long addr) { return (int)(addr - ip); |