kill strlen_user()

no callers, no consistent semantics, no sane way to use it...

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2017-04-07 17:20:01 -04:00
commit 8298525839
32 changed files with 2 additions and 465 deletions

View file

@ -282,6 +282,4 @@ clear_user(void __user *to, unsigned long n)
extern long strncpy_from_user(char *dst, const char __user *src, long count);
extern long strnlen_user(const char __user *src, long count);
#define strlen_user(str) strnlen_user(str, 32767)
#endif /* _ASM_UACCESS_H */