Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-7
-7
fs/compat_ioctl.c
··· 52 52 53 53 #include <linux/sort.h> 54 54 55 - #define convert_in_user(srcptr, dstptr) \ 56 - ({ \ 57 - typeof(*srcptr) val; \ 58 - \ 59 - get_user(val, srcptr) || put_user(val, dstptr); \ 60 - }) 61 - 62 55 static int do_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 63 56 { 64 57 int err;