mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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:
parent
2ea659a9ef
commit
8298525839
32 changed files with 2 additions and 465 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue