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 f7ad9e8..f085229 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);