mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -288,9 +288,6 @@ strncpy_from_user(char *dst, const char *src, long count)
|
|||
return -EFAULT;
|
||||
}
|
||||
|
||||
|
||||
#define strlen_user(str) strnlen_user((str), TASK_SIZE - 1)
|
||||
|
||||
/*
|
||||
* Return the size of a string (including the ending 0!)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue