[PATCH v2 09/13] ppc: get rid of unreachable abs() implementation

From: Al Viro
Date: Wed Feb 03 2016 - 16:23:00 EST


From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

Both the extern and export had been killed off by Christoph
back in 2004; the actual implementation had been left behind.
Time to end that depravity, let's bury the body...

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
---
arch/powerpc/kernel/misc_32.S | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S
index b1519c5..a3d3de6 100644
--- a/arch/powerpc/kernel/misc_32.S
+++ b/arch/powerpc/kernel/misc_32.S
@@ -696,12 +696,6 @@ _GLOBAL(__bswapdi2)
blr
EXPORT_SYMBOL(__bswapdi2)

-_GLOBAL(abs)
- srawi r4,r3,31
- xor r3,r3,r4
- sub r3,r3,r4
- blr
-
#ifdef CONFIG_SMP
_GLOBAL(start_secondary_resume)
/* Reset stack */
--
2.1.4