From: Ian Kent Date: Tue, 15 Mar 2016 21:58:47 +0000 (-0700) Subject: autofs4: fix string.h include in auto_dev-ioctl.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=63c06227a22b098a3849c5c99e836aea161ca0d7;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 - -#ifdef __KERNEL__ #include -#else -#include -#endif /* __KERNEL__ */ #define AUTOFS_DEVICE_NAME "autofs"