diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-07 17:54:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-05-15 23:40:28 -0400 |
commit | 10503bf9435f304b7a74ebfdb8571dec001d751c (patch) | |
tree | 1efae156c35ac60153869339fc4d7c54b12c293d /arch/cris | |
parent | 82985258390e85289940d3663344197344e071f2 (diff) | |
download | linux-rpi3-10503bf9435f304b7a74ebfdb8571dec001d751c.tar.gz linux-rpi3-10503bf9435f304b7a74ebfdb8571dec001d751c.tar.bz2 linux-rpi3-10503bf9435f304b7a74ebfdb8571dec001d751c.zip |
get rid of unused __strncpy_from_user() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/include/asm/uaccess.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/cris/include/asm/uaccess.h b/arch/cris/include/asm/uaccess.h index 98bfa4e060da..b0c6b077b632 100644 --- a/arch/cris/include/asm/uaccess.h +++ b/arch/cris/include/asm/uaccess.h @@ -173,12 +173,6 @@ extern unsigned long __copy_user_in(void *to, const void __user *from, unsigned extern unsigned long __do_clear_user(void __user *to, unsigned long n); static inline long -__strncpy_from_user(char *dst, const char __user *src, long count) -{ - return __do_strncpy_from_user(dst, src, count); -} - -static inline long strncpy_from_user(char *dst, const char __user *src, long count) { long res = -EFAULT; |