mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
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>
This commit is contained in:
parent
caca7d10f8
commit
0581f1864a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user