diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-01-17 19:26:54 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-07-28 00:01:13 +0300 |
commit | 166ec4633b63c69fabc5d8d745a1c5b73fb53f1d (patch) | |
tree | 26513c973ceac445c879574bafde465644270aad /arch/arc/include/asm | |
parent | 98b861a304318e60eea584bef123d924e5d0dcff (diff) | |
download | linux-166ec4633b63c69fabc5d8d745a1c5b73fb53f1d.tar.xz |
asm-generic: remove extra strn{cpy_from,len}_user declarations
As these are now in asm-generic, it's no longer necessary to
declare them in the architecture.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/include/asm')
-rw-r--r-- | arch/arc/include/asm/uaccess.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arc/include/asm/uaccess.h b/arch/arc/include/asm/uaccess.h index 754a23f26736..783bfdb3bfa3 100644 --- a/arch/arc/include/asm/uaccess.h +++ b/arch/arc/include/asm/uaccess.h @@ -667,11 +667,6 @@ extern unsigned long arc_clear_user_noinline(void __user *to, #define __clear_user(d, n) arc_clear_user_noinline(d, n) #endif -extern long strncpy_from_user(char *dst, const char __user *src, long count); -#define strncpy_from_user(d, s, n) strncpy_from_user(d, s, n) -extern long strnlen_user(const char __user *src, long n); -#define strnlen_user(s, n) strnlen_user(s, n) - #include <asm/segment.h> #include <asm-generic/uaccess.h> |