autofs: remove duplicated AUTOFS_DEV_IOCTL_SIZE definition
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.
Signed-off-by Tomohiro Kusumi <[email protected]>
Signed-off-by Ian Kent <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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
@@ -38,8 +38,6 @@* which have been left busy at at service shutdown. */ -#define AUTOFS_DEV_IOCTL_SIZE sizeof(struct autofs_dev_ioctl)