aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-04-10 10:10:25 -0400
committerJesper Nilsson <jespern@axis.com>2012-04-03 07:09:18 -0400
commit4bade0481cc378eee8f1f9412dc10dcc1b401f23 (patch)
tree77a61b2bf91439f4cfcf473319217ccf25b8a818 /arch/cris/arch-v32
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/arch-v32')
-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)
114void 114void
115ptrace_disable(struct task_struct *child) 115ptrace_disable(struct task_struct *child)
116{ 116{
117 unsigned long tmp;
118
119 /* Deconfigure SPC and S-bit. */ 117 /* Deconfigure SPC and S-bit. */
120 user_disable_single_step(child); 118 user_disable_single_step(child);
121 put_reg(child, PT_SPC, 0); 119 put_reg(child, PT_SPC, 0);