aboutsummaryrefslogtreecommitdiff
path: root/arch/cris
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-04-10 16:10:25 +0200
committerJesper Nilsson <jespern@axis.com>2012-04-03 13:09:18 +0200
commit4bade0481cc378eee8f1f9412dc10dcc1b401f23 (patch)
tree77a61b2bf91439f4cfcf473319217ccf25b8a818 /arch/cris
parent06e44840368efdb359224b5d04db6c92f73bd373 (diff)
cris:removed the unused variable
removed the unused variable "unsigned long tmp". Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Signed-off-by: Jesper Nilsson <jespern@axis.com>
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/arch-v32/kernel/ptrace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/cris/arch-v32/kernel/ptrace.c b/arch/cris/arch-v32/kernel/ptrace.c
index f7ad9e8637df..f085229cf870 100644
--- a/arch/cris/arch-v32/kernel/ptrace.c
+++ b/arch/cris/arch-v32/kernel/ptrace.c
@@ -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);