From ade1af77129dea6e335b525ed3be3b846bc1ec13 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 30 Jan 2008 13:33:23 +0100 Subject: x86: remove unneded casts x86: remove unneeded casts Signed-off-by: Jan Engelhardt Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- arch/x86/kernel/traps_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/x86/kernel/traps_64.c') diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 911ed28afff8..4aa4520f9499 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c @@ -217,7 +217,7 @@ static unsigned long *in_exception_stack(unsigned cpu, unsigned long stack, static inline int valid_stack_ptr(struct thread_info *tinfo, void *p, unsigned int size, void *end) { - void *t = (void *)tinfo; + void *t = tinfo; if (end) { if (p < end && p >= (end-THREAD_SIZE)) return 1; -- cgit v1.2.1