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

@ -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!)
*/