summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-12-25 10:04:47 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-01-04 10:28:06 -0500
commitf5e6634ec04b6ed55be4e124277acde240323f2d (patch)
tree97d8a0c7cc499b3cb72f39eb4bc43a9e215a6d6c /arch/m68k
parentbb646cdb12e75d82258c2f2e7746d5952d3e321a (diff)
downloadop-kernel-dev-f5e6634ec04b6ed55be4e124277acde240323f2d.zip
op-kernel-dev-f5e6634ec04b6ed55be4e124277acde240323f2d.tar.gz
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/m68k')
-rw-r--r--arch/m68k/include/asm/uaccess_no.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/uaccess_no.h b/arch/m68k/include/asm/uaccess_no.h
index 68bbe9b..1bdf152 100644
--- a/arch/m68k/include/asm/uaccess_no.h
+++ b/arch/m68k/include/asm/uaccess_no.h
@@ -135,10 +135,6 @@ extern int __get_user_bad(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; })
-
/*
* Copy a null terminated string from userspace.
*/
OpenPOWER on IntegriCloud