Skip to content

Commit

Permalink
powerpc/ptrace: Remove unused addr parameter in ppc_del_hwdebug()
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Michael Neuling authored and Benjamin Herrenschmidt committed Nov 15, 2012
1 parent 84295df commit ec1b33d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ static long ppc_set_hwdebug(struct task_struct *child,
#endif /* !CONFIG_PPC_ADV_DEBUG_DVCS */
}

static long ppc_del_hwdebug(struct task_struct *child, long addr, long data)
static long ppc_del_hwdebug(struct task_struct *child, long data)
{
#ifdef CONFIG_HAVE_HW_BREAKPOINT
int ret = 0;
Expand Down Expand Up @@ -1633,7 +1633,7 @@ long arch_ptrace(struct task_struct *child, long request,
}

case PPC_PTRACE_DELHWDEBUG: {
ret = ppc_del_hwdebug(child, addr, data);
ret = ppc_del_hwdebug(child, data);
break;
}

Expand Down

0 comments on commit ec1b33d

Please sign in to comment.