diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-07 17:20:01 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-15 23:40:22 -0400 |
commit | 82985258390e85289940d3663344197344e071f2 (patch) | |
tree | 9209037b20e4c5117b87a03e0add1c305c4eb25f /arch/alpha | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) |
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/alpha')
-rw-r--r-- | arch/alpha/include/asm/uaccess.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/uaccess.h b/arch/alpha/include/asm/uaccess.h index 7b82dc9a8556..133a4884ed44 100644 --- a/arch/alpha/include/asm/uaccess.h +++ b/arch/alpha/include/asm/uaccess.h | |||
@@ -326,7 +326,6 @@ clear_user(void __user *to, long len) | |||
326 | (uaccess_kernel() ? ~0UL : TASK_SIZE) | 326 | (uaccess_kernel() ? ~0UL : TASK_SIZE) |
327 | 327 | ||
328 | extern long strncpy_from_user(char *dest, const char __user *src, long count); | 328 | extern long strncpy_from_user(char *dest, const char __user *src, long count); |
329 | extern __must_check long strlen_user(const char __user *str); | ||
330 | extern __must_check long strnlen_user(const char __user *str, long n); | 329 | extern __must_check long strnlen_user(const char __user *str, long n); |
331 | 330 | ||
332 | #include <asm/extable.h> | 331 | #include <asm/extable.h> |