diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-07 23:20:01 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-16 05:40:22 +0200 |
commit | 82985258390e85289940d3663344197344e071f2 (patch) | |
tree | 9209037b20e4c5117b87a03e0add1c305c4eb25f /include/asm-generic | |
parent | Linux 4.12-rc1 (diff) | |
download | linux-82985258390e85289940d3663344197344e071f2.tar.xz 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 'include/asm-generic')
-rw-r--r-- | include/asm-generic/uaccess.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-generic/uaccess.h b/include/asm-generic/uaccess.h index bbe4bb438e39..723e81a6c162 100644 --- a/include/asm-generic/uaccess.h +++ b/include/asm-generic/uaccess.h @@ -200,11 +200,6 @@ static inline long strnlen_user(const char __user *src, long n) return __strnlen_user(src, n); } -static inline long strlen_user(const char __user *src) -{ - return strnlen_user(src, 32767); -} - /* * Zero Userspace */ |