summaryrefslogtreecommitdiffstats
path: root/arch/score/lib/string.S
diff options
context:
space:
mode:
authorAl Viro2017-04-07 23:20:01 +0200
committerAl Viro2017-05-16 05:40:22 +0200
commit82985258390e85289940d3663344197344e071f2 (patch)
tree9209037b20e4c5117b87a03e0add1c305c4eb25f /arch/score/lib/string.S
parentLinux 4.12-rc1 (diff)
downloadkernel-qcow2-linux-82985258390e85289940d3663344197344e071f2.tar.gz
kernel-qcow2-linux-82985258390e85289940d3663344197344e071f2.tar.xz
kernel-qcow2-linux-82985258390e85289940d3663344197344e071f2.zip
kill strlen_user()
no callers, no consistent semantics, no sane way to use it... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/score/lib/string.S')
-rw-r--r--arch/score/lib/string.S28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/score/lib/string.S b/arch/score/lib/string.S
index 16efa3ad037f..e0c0318c9010 100644
--- a/arch/score/lib/string.S
+++ b/arch/score/lib/string.S
@@ -104,34 +104,6 @@ ENTRY(__strnlen_user)
.previous
.align 2
-ENTRY(__strlen_user)
-0: lb r6, [r4]
- mv r7, r4
- extsb r6, r6
- cmpi.c r6, 0
- mv r4, r6
- beq .L27
-.L28:
-1: lb r6, [r7, 1]+
- addi r6, 1
- cmpi.c r6, 0
- bne .L28
-.L27:
- br r3
- .section .fixup, "ax"
- ldi r4, 0x0
- br r3
-99:
- ldi r4, 0
- br r3
- .previous
- .section __ex_table, "a"
- .align 2
- .word 0b ,99b
- .word 1b ,99b
- .previous
-
- .align 2
ENTRY(__copy_tofrom_user)
cmpi.c r6, 0
mv r10,r6