Skip to contentSkip to conversation

autofs: remove duplicated AUTOFS_DEV_IOCTL_SIZE definition

PATCH New [email protected] 1 participant 1 message Feb 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 11/78 autofs: remove duplicated AUTOFS_DEV_IOCTL_SIZE definition

From: Tomohiro Kusumi <[email protected]>
Subject: autofs: remove duplicated AUTOFS_DEV_IOCTL_SIZE definition

This macro is already defined in uapi header. Also use this macro where possible.

---

 fs/autofs4/dev-ioctl.c              |    2 --
 include/uapi/linux/auto_dev-ioctl.h |    4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)
fs/autofs4/dev-ioctl.c renamed from fs/autofs4/dev-ioctl.c~autofs-remove-duplicated-autofs_dev_ioctl_size-definition +0 -1
diff -puN fs/autofs4/dev-ioctl.c~autofs-remove-duplicated-autofs_dev_ioctl_size-definition 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)