From 0819450fdd1160462f7a67af055618029857e204 Mon Sep 17 00:00:00 2001 From: Christophe Leroy Date: Thu, 13 Jul 2017 15:09:46 +0200 Subject: powerpc: get rid of addr_probe() This function has never been used, at least since the beginning of the git repository Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/traps.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'arch/powerpc/cpu/mpc8xx') diff --git a/arch/powerpc/cpu/mpc8xx/traps.c b/arch/powerpc/cpu/mpc8xx/traps.c index 8b8d617eed..ebf4e412c9 100644 --- a/arch/powerpc/cpu/mpc8xx/traps.c +++ b/arch/powerpc/cpu/mpc8xx/traps.c @@ -155,11 +155,3 @@ void DebugException(struct pt_regs *regs) printf("Debugger trap at @ %lx\n", regs->nip); show_regs(regs); } - -/* Probe an address by reading. If not present, return -1, otherwise - * return 0. - */ -int addr_probe(uint *addr) -{ - return 0; -} -- cgit v1.2.3