浏览代码

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>
Ian Kent 9 年之前
父节点
当前提交
63c06227a2
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      include/linux/auto_dev-ioctl.h

+ 0 - 5
include/linux/auto_dev-ioctl.h

@@ -11,12 +11,7 @@
 #define _LINUX_AUTO_DEV_IOCTL_H
 #define _LINUX_AUTO_DEV_IOCTL_H
 
 
 #include <linux/auto_fs.h>
 #include <linux/auto_fs.h>
-
-#ifdef __KERNEL__
 #include <linux/string.h>
 #include <linux/string.h>
-#else
-#include <string.h>
-#endif /* __KERNEL__ */
 
 
 #define AUTOFS_DEVICE_NAME		"autofs"
 #define AUTOFS_DEVICE_NAME		"autofs"