summaryrefslogtreecommitdiff
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-14 11:22:38 +0100
committerArnd Bergmann <arnd@arndb.de>2019-10-23 17:23:46 +0200
commit0581f1864a635b4e93c99ab8a613dc35f8c15da1 (patch)
treeeb172109db4620d507cb89f0c4d5330ed3740eb5 /fs/compat_ioctl.c
parentcaca7d10f815c9e70b5d34ca4807ee5c01e19a86 (diff)
compat_ioctl: remove unused convert_in_user macro
The last users are all gone, so let's remove the macro as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r--fs/compat_ioctl.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 1ed32cca2176..1e740f4406d3 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -52,13 +52,6 @@
#include <linux/sort.h>
-#define convert_in_user(srcptr, dstptr) \
-({ \
- typeof(*srcptr) val; \
- \
- get_user(val, srcptr) || put_user(val, dstptr); \
-})
-
static int do_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
int err;