[PATCH 05/13] autofs4 - fix string.h include in auto_dev-ioctl.h

From: Ian Kent
Date: Mon Nov 03 2014 - 03:12:55 EST


Since including linux/string.h will now do the right thing remove the
conditional check.

Signed-off-by: Ian Kent <raven@xxxxxxxxxx>
---
include/linux/auto_dev-ioctl.h | 5 -----
1 file changed, 5 deletions(-)

diff --git a/include/linux/auto_dev-ioctl.h b/include/linux/auto_dev-ioctl.h
index 6427816..7caaf29 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"


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/