diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-25 18:04:47 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-04 18:28:06 +0300 |
commit | f5e6634ec04b6ed55be4e124277acde240323f2d (patch) | |
tree | 97d8a0c7cc499b3cb72f39eb4bc43a9e215a6d6c /arch/blackfin | |
parent | bb646cdb12e75d82258c2f2e7746d5952d3e321a (diff) | |
download | linux-f5e6634ec04b6ed55be4e124277acde240323f2d.tar.xz |
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) { |