From: Ian Kent <raven@themaw.net>
To: linux-next@vger.kernel.org
Cc: linux-fsdevel <linux-fsdevel@vger.kernel.org>,
autofs mailing list <autofs@vger.kernel.org>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [RFC PATCH 2/7] autofs4 - fix string.h include in auto_dev-ioctl.h
Date: Mon, 01 Jul 2013 11:14:15 +0800 [thread overview]
Message-ID: <20130701031414.4423.25878.stgit@perseus.fritz.box> (raw)
In-Reply-To: <20130701031335.4423.6154.stgit@perseus.fritz.box>
Since including linux/string.h will now do the right thing remove the
conditional check.
Signed-off-by: Ian Kent <raven@themaw.net>
---
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 850f39b..fe4f373 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"
next prev parent reply other threads:[~2013-07-01 3:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-01 3:14 [RFC PATCH 0/7] autofs4 - rename autofs4 to autofs Ian Kent
2013-07-01 3:14 ` [RFC PATCH 1/7] autofs4 - coding style fixes Ian Kent
2013-07-01 3:14 ` Ian Kent [this message]
2013-07-01 3:14 ` [RFC PATCH 3/7] autofs4 - move linux/auto_dev-ioctl.h to uapi/linux Ian Kent
2013-07-01 3:14 ` [RFC PATCH 4/7] autofs - merge auto_fs.h and auto_fs4.h Ian Kent
2013-07-01 3:14 ` [RFC PATCH 5/7] autofs - use autofs instead of autofs4 everywhere Ian Kent
2013-07-01 3:14 ` [RFC PATCH 6/7] autofs - rename module autofs4 to autofs Ian Kent
2013-07-01 3:14 ` [RFC PATCH 7/7] autofs - change CONFIG_AUTOFS4_FS to CONFIG_AUTOFS_FS Ian Kent
2013-07-01 4:39 ` Stephen Rothwell
2013-07-05 9:51 ` Ian Kent
2013-07-08 5:10 ` Stephen Rothwell
2013-07-08 9:11 ` Ian Kent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130701031414.4423.25878.stgit@perseus.fritz.box \
--to=raven@themaw.net \
--cc=autofs@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).