diff mbox

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

Message ID 1454534445-16759-9-git-send-email-viro@ZenIV.linux.org.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Al Viro Feb. 3, 2016, 9:20 p.m. UTC
From: Al Viro <viro@zeniv.linux.org.uk>

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@zeniv.linux.org.uk>
---
 arch/powerpc/kernel/misc_32.S | 6 ------
 1 file changed, 6 deletions(-)
diff mbox

Patch

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 */