Commit 0581f186 authored by Arnd Bergmann's avatar Arnd Bergmann

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: default avatarArnd Bergmann <arnd@arndb.de>
parent caca7d10
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment