From: Zou Wei <zou_wei@huawei.com>
To: <christian.brauner@ubuntu.com>, <akpm@linux-foundation.org>,
<tglx@linutronix.de>, <areber@redhat.com>,
<thomascedeno@google.com>, <Nicolas.Viennot@twosigma.com>,
<walken@google.co>, <viresh.kumar@linaro.org>,
<liao.pingfang@zte.com.cn>, <mchristi@redhat.com>,
<viro@zeniv.linux.org.uk>, <linux@rasmusvillemoes.dk>
Cc: <linux-kernel@vger.kernel.org>, Zou Wei <zou_wei@huawei.com>
Subject: [PATCH -next] kernel/sys.c: Remove unused including <linux/version.h>
Date: Mon, 25 Jan 2021 20:47:49 +0800 [thread overview]
Message-ID: <1611578869-43453-1-git-send-email-zou_wei@huawei.com> (raw)
Fix the following versioncheck warning:
kernel/sys.c:42:1: unused including <linux/version.h>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
---
kernel/sys.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index e6fd8b8..8ecd3c5 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -39,7 +39,6 @@
#include <linux/mount.h>
#include <linux/gfp.h>
#include <linux/syscore_ops.h>
-#include <linux/version.h>
#include <linux/ctype.h>
#include <linux/syscall_user_dispatch.h>
--
2.6.2
next reply other threads:[~2021-01-25 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-25 12:47 Zou Wei [this message]
2021-01-26 1:26 ` [PATCH -next] kernel/sys.c: Remove unused including <linux/version.h> Andrew Morton
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=1611578869-43453-1-git-send-email-zou_wei@huawei.com \
--to=zou_wei@huawei.com \
--cc=Nicolas.Viennot@twosigma.com \
--cc=akpm@linux-foundation.org \
--cc=areber@redhat.com \
--cc=christian.brauner@ubuntu.com \
--cc=liao.pingfang@zte.com.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=mchristi@redhat.com \
--cc=tglx@linutronix.de \
--cc=thomascedeno@google.com \
--cc=viresh.kumar@linaro.org \
--cc=viro@zeniv.linux.org.uk \
--cc=walken@google.co \
/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).