Messages in this thread Patch in this message | | | From | Cong Wang <> | Subject | [Patch] cris: remove an unused variable in ptrace_disable() | Date | Fri, 3 Feb 2012 14:02:46 +0800 |
| |
'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);
| |