summaryrefslogtreecommitdiffstats
path: root/arch
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
parentCRISv32: Correct name of read_mostly section. (diff)
downloadlinux-4bade0481cc378eee8f1f9412dc10dcc1b401f23.tar.xz
linux-4bade0481cc378eee8f1f9412dc10dcc1b401f23.zip
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')
-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);