Skip to contentSkip to conversation

cris: remove an unused variable in ptrace_disable()

PATCH New Cong Wang 1 participant 1 message Feb 3, 2012

lore
Share & tools
lore

Cong Wang

author
#0 lore raw

PATCH 1/1 cris: remove an unused variable in ptrace_disable()

'tmp' is unused in this function.

---

arch/cris/arch-v32/kernel/ptrace.c +0 -2
index 511ece9..42ed6c7 100644
@@ -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);