Patchwork [3/3] powerpc/ptrace: Remove unused addr parameter in ppc_del_hwdebug()

login
register
mail settings
Submitter Michael Neuling
Date Oct. 29, 2012, 1:13 a.m.
Message ID <1351473197-27426-4-git-send-email-mikey@neuling.org>
Download mbox | patch
Permalink /patch/194776/
State Accepted, archived
Commit ec1b33dcd2c0ed773e6458d1c8b337966114562b
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Michael Neuling - Oct. 29, 2012, 1:13 a.m.
Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 arch/powerpc/kernel/ptrace.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index 7dd32d1..817b411 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -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;
@@ -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;
 	}