summaryrefslogtreecommitdiffstats
path: root/fs/autofs4
diff options
context:
space:
mode:
authorTomohiro Kusumi <tkusumi@tuxera.com>2017-02-27 23:27:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-28 03:43:45 +0100
commit3bb2fbdaba16386f520b5750d649a30643a4ab9e (patch)
treef91835948a61182618a2a28ebd61862fc2a13954 /fs/autofs4
parentautofs: add command enum/macros for root-dir ioctls (diff)
downloadlinux-3bb2fbdaba16386f520b5750d649a30643a4ab9e.tar.xz
linux-3bb2fbdaba16386f520b5750d649a30643a4ab9e.zip
autofs: remove duplicated AUTOFS_DEV_IOCTL_SIZE definition
This macro is already defined in uapi header. Also use this macro where possible. Link: http://lkml.kernel.org/r/148577166656.9801.10322423666945951186.stgit@pluto.themaw.net Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com> Signed-off-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4')
-rw-r--r--fs/autofs4/dev-ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c
index 6f48d670c941..806df746f1a9 100644
--- a/fs/autofs4/dev-ioctl.c
+++ b/fs/autofs4/dev-ioctl.c
@@ -38,8 +38,6 @@
* which have been left busy at at service shutdown.
*/
-#define AUTOFS_DEV_IOCTL_SIZE sizeof(struct autofs_dev_ioctl)
-
typedef int (*ioctl_fn)(struct file *, struct autofs_sb_info *,
struct autofs_dev_ioctl *);