summaryrefslogtreecommitdiffstats
path: root/include/linux/auto_dev-ioctl.h
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2016-03-15 14:58:47 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-03-15 16:55:16 -0700
commit63c06227a22b098a3849c5c99e836aea161ca0d7 (patch)
treef48836be0ba4c99ad7ce5c45abad10d4369fdf8f /include/linux/auto_dev-ioctl.h
parent8a78d59304102d36a0cd9b4d81e8e48087ffafd2 (diff)
downloadtalos-obmc-linux-63c06227a22b098a3849c5c99e836aea161ca0d7.tar.gz
talos-obmc-linux-63c06227a22b098a3849c5c99e836aea161ca0d7.zip
autofs4: fix string.h include in auto_dev-ioctl.h
Since including linux/string.h will now do the right thing remove the conditional check. 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 'include/linux/auto_dev-ioctl.h')
-rw-r--r--include/linux/auto_dev-ioctl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/auto_dev-ioctl.h b/include/linux/auto_dev-ioctl.h
index 642781612062..7caaf298f539 100644
--- a/include/linux/auto_dev-ioctl.h
+++ b/include/linux/auto_dev-ioctl.h
@@ -11,12 +11,7 @@
#define _LINUX_AUTO_DEV_IOCTL_H
#include <linux/auto_fs.h>
-
-#ifdef __KERNEL__
#include <linux/string.h>
-#else
-#include <string.h>
-#endif /* __KERNEL__ */
#define AUTOFS_DEVICE_NAME "autofs"
OpenPOWER on IntegriCloud