projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caca7d1
)
compat_ioctl: remove unused convert_in_user macro
author
Arnd Bergmann
<arnd@arndb.de>
Thu, 14 Mar 2019 10:22:38 +0000
(11:22 +0100)
committer
Arnd Bergmann
<arnd@arndb.de>
Wed, 23 Oct 2019 15:23:46 +0000
(17:23 +0200)
The last users are all gone, so let's remove the macro as well.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/compat_ioctl.c
patch
|
blob
|
history
diff --git
a/fs/compat_ioctl.c
b/fs/compat_ioctl.c
index 1ed32cca2176ee7b80be6e551d2299e2410016e4..1e740f4406d30a30f77a5afa15847ce2b023dd9a 100644
(file)
--- 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;