]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/s390/include/asm/uaccess.h
Merge branch 'work.uaccess-unaligned' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / arch / s390 / include / asm / uaccess.h
index fad9df965ec252dd7becd2e7315e9a877004a3d4..304cfe44df50cc4df75b90e40c3ab52c1d011ac4 100644 (file)
@@ -273,23 +273,6 @@ static inline unsigned long strnlen_user(const char __user *src, unsigned long n
        return __strnlen_user(src, n);
 }
 
-/**
- * strlen_user: - Get the size of a string in user space.
- * @str: The string to measure.
- *
- * Context: User context only. This function may sleep if pagefaults are
- *          enabled.
- *
- * Get the size of a NUL-terminated string in user space.
- *
- * Returns the size of the string INCLUDING the terminating NUL.
- * On exception, returns 0.
- *
- * If there is a limit on the length of a valid string, you may wish to
- * consider using strnlen_user() instead.
- */
-#define strlen_user(str) strnlen_user(str, ~0UL)
-
 /*
  * Zero Userspace
  */