diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-30 07:33:23 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:23 -0500 |
commit | ade1af77129dea6e335b525ed3be3b846bc1ec13 (patch) | |
tree | 0fee8803a8145ef9935212c31df59bb339a78811 /arch/x86/kernel/stacktrace.c | |
parent | d729ab35ee1367b7690458ae9e050571cb055bd3 (diff) |
x86: remove unneded casts
x86: remove unneeded casts
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/stacktrace.c')
-rw-r--r-- | arch/x86/kernel/stacktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/stacktrace.c b/arch/x86/kernel/stacktrace.c index 4f4021b5bfb5..02f0f61f5b11 100644 --- a/arch/x86/kernel/stacktrace.c +++ b/arch/x86/kernel/stacktrace.c | |||
@@ -24,7 +24,7 @@ static int save_stack_stack(void *data, char *name) | |||
24 | 24 | ||
25 | static void save_stack_address(void *data, unsigned long addr, int reliable) | 25 | static void save_stack_address(void *data, unsigned long addr, int reliable) |
26 | { | 26 | { |
27 | struct stack_trace *trace = (struct stack_trace *)data; | 27 | struct stack_trace *trace = data; |
28 | if (trace->skip > 0) { | 28 | if (trace->skip > 0) { |
29 | trace->skip--; | 29 | trace->skip--; |
30 | return; | 30 | return; |