diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-25 10:04:47 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-04 10:28:06 -0500 |
commit | f5e6634ec04b6ed55be4e124277acde240323f2d (patch) | |
tree | 97d8a0c7cc499b3cb72f39eb4bc43a9e215a6d6c /arch/blackfin/include | |
parent | bb646cdb12e75d82258c2f2e7746d5952d3e321a (diff) |
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/include')
-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) | |||
168 | #define __copy_to_user_inatomic __copy_to_user | 168 | #define __copy_to_user_inatomic __copy_to_user |
169 | #define __copy_from_user_inatomic __copy_from_user | 169 | #define __copy_from_user_inatomic __copy_from_user |
170 | 170 | ||
171 | #define copy_to_user_ret(to, from, n, retval) ({ if (copy_to_user(to, from, n))\ | ||
172 | return retval; }) | ||
173 | |||
174 | #define copy_from_user_ret(to, from, n, retval) ({ if (copy_from_user(to, from, n))\ | ||
175 | return retval; }) | ||
176 | |||
177 | static inline unsigned long __must_check | 171 | static inline unsigned long __must_check |
178 | copy_from_user(void *to, const void __user *from, unsigned long n) | 172 | copy_from_user(void *to, const void __user *from, unsigned long n) |
179 | { | 173 | { |