autofs: remove AUTOFS_DEVID_LEN
authorTomohiro Kusumi <[email protected]>
Tue, 11 Oct 2016 20:52:51 +0000 (13:52 -0700)
committerLinus Torvalds <[email protected]>
Tue, 11 Oct 2016 22:06:31 +0000 (15:06 -0700)
This macro was never used by neither kernel nor userspace, and also
doesn't represent "devid length" in bytes.  (unless it was added to mean
something else).

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Tomohiro Kusumi <[email protected]>
Signed-off-by: Ian Kent <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/auto_dev-ioctl.h

index 7caaf298f5399c90616838ccaf1f904066cb29e4..bf82e3a758e5e1466aa8f47ce8777b53516708d6 100644 (file)
@@ -18,8 +18,6 @@
 #define AUTOFS_DEV_IOCTL_VERSION_MAJOR 1
 #define AUTOFS_DEV_IOCTL_VERSION_MINOR 0
 
-#define AUTOFS_DEVID_LEN               16
-
 #define AUTOFS_DEV_IOCTL_SIZE          sizeof(struct autofs_dev_ioctl)
 
 /*