summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/lib/usercopy.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-04-07 23:54:24 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-05-16 05:40:28 +0200
commit10503bf9435f304b7a74ebfdb8571dec001d751c (patch)
tree1efae156c35ac60153869339fc4d7c54b12c293d /arch/mn10300/lib/usercopy.c
parentkill strlen_user() (diff)
downloadlinux-10503bf9435f304b7a74ebfdb8571dec001d751c.tar.xz
linux-10503bf9435f304b7a74ebfdb8571dec001d751c.zip
get rid of unused __strncpy_from_user() instances
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mn10300/lib/usercopy.c')
-rw-r--r--arch/mn10300/lib/usercopy.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mn10300/lib/usercopy.c b/arch/mn10300/lib/usercopy.c
index cece1799cc32..39626912de98 100644
--- a/arch/mn10300/lib/usercopy.c
+++ b/arch/mn10300/lib/usercopy.c
@@ -50,14 +50,6 @@ do { \
} while (0)
long
-__strncpy_from_user(char *dst, const char *src, long count)
-{
- long res;
- __do_strncpy_from_user(dst, src, count, res);
- return res;
-}
-
-long
strncpy_from_user(char *dst, const char *src, long count)
{
long res = -EFAULT;