cris:removed the unused variable
authorWanlong Gao <wanlong.gao@gmail.com>
Sun, 10 Apr 2011 14:10:25 +0000 (16:10 +0200)
committerJesper Nilsson <jespern@axis.com>
Tue, 3 Apr 2012 11:09:18 +0000 (13:09 +0200)
removed the unused variable "unsigned long tmp".

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/arch-v32/kernel/ptrace.c

index f7ad9e8637df271a1f9361ebede99b7f78966da0..f085229cf870bc306b95df2dee4eadd9ebdd4b8b 100644 (file)
@@ -114,8 +114,6 @@ void user_disable_single_step(struct task_struct *child)
 void
 ptrace_disable(struct task_struct *child)
 {
-       unsigned long tmp;
-
        /* Deconfigure SPC and S-bit. */
        user_disable_single_step(child);
        put_reg(child, PT_SPC, 0);