diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-25 16:04:47 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-04 16:28:06 +0100 |
commit | f5e6634ec04b6ed55be4e124277acde240323f2d (patch) | |
tree | 97d8a0c7cc499b3cb72f39eb4bc43a9e215a6d6c /arch/blackfin | |
parent | proc_pid_attr_write(): switch to memdup_user() (diff) | |
download | linux-f5e6634ec04b6ed55be4e124277acde240323f2d.tar.xz linux-f5e6634ec04b6ed55be4e124277acde240323f2d.zip |
put the remnants of ..._user_ret() to rest
they hadn't been used in last 15 years...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/asm/uaccess.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/blackfin/include/asm/uaccess.h b/arch/blackfin/include/asm/uaccess.h index 90612a7f2cf3..12f5d6851bbc 100644 --- a/arch/blackfin/include/asm/uaccess.h +++ b/arch/blackfin/include/asm/uaccess.h @@ -168,12 +168,6 @@ static inline int bad_user_access_length(void) #define __copy_to_user_inatomic __copy_to_user #define __copy_from_user_inatomic __copy_from_user -#define copy_to_user_ret(to, from, n, retval) ({ if (copy_to_user(to, from, n))\ - return retval; }) - -#define copy_from_user_ret(to, from, n, retval) ({ if (copy_from_user(to, from, n))\ - return retval; }) - static inline unsigned long __must_check copy_from_user(void *to, const void __user *from, unsigned long n) { |