* [Patch] cris: remove an unused variable in ptrace_disable()
@ 2012-02-03 6:02 Cong Wang
0 siblings, 0 replies; only message in thread
From: Cong Wang @ 2012-02-03 6:02 UTC (permalink / raw)
To: linux-kernel
Cc: Andrew Morton, WANG Cong, Mikael Starvik, Jesper Nilsson,
linux-cris-kernel
'tmp' is unused in this function.
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
---
diff --git a/arch/cris/arch-v32/kernel/ptrace.c b/arch/cris/arch-v32/kernel/ptrace.c
index 511ece9..42ed6c7 100644
--- a/arch/cris/arch-v32/kernel/ptrace.c
+++ b/arch/cris/arch-v32/kernel/ptrace.c
@@ -115,8 +115,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);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-03 6:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-03 6:02 [Patch] cris: remove an unused variable in ptrace_disable() Cong Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).