Skip to content

Commit 0581f18

Browse files
committed
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>
1 parent caca7d1 commit 0581f18

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎fs/compat_ioctl.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@
5252

5353
#include <linux/sort.h>
5454

55-
#define convert_in_user(srcptr, dstptr) \
56-
({ \
57-
typeof(*srcptr) val; \
58-
\
59-
get_user(val, srcptr) || put_user(val, dstptr); \
60-
})
61-
6255
static int do_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
6356
{
6457
int err;

0 commit comments

Comments
 (0)