From: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
To: ojeda@kernel.org
Cc: alex.gaynor@gmail.com, wedsonaf@google.com,
rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
Jiapeng Chong <jiapeng.chong@linux.alibaba.com>,
Abaci Robot <abaci@linux.alibaba.com>
Subject: [PATCH] rust: Remove unused including <linux/version.h>
Date: Wed, 19 Jan 2022 10:39:47 +0800 [thread overview]
Message-ID: <20220119023947.30628-1-jiapeng.chong@linux.alibaba.com> (raw)
Eliminate the follow versioncheck warning:
./rust/kernel/bindings_helper.h: 13 linux/version.h not needed.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
rust/kernel/bindings_helper.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/rust/kernel/bindings_helper.h b/rust/kernel/bindings_helper.h
index 99a7d785ae01..a79f3f398b93 100644
--- a/rust/kernel/bindings_helper.h
+++ b/rust/kernel/bindings_helper.h
@@ -10,7 +10,6 @@
#include <linux/sysctl.h>
#include <linux/uaccess.h>
#include <linux/uio.h>
-#include <linux/version.h>
#include <linux/miscdevice.h>
#include <linux/poll.h>
#include <linux/mm.h>
--
2.20.1.7.g153144c
next reply other threads:[~2022-01-19 2:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 2:39 Jiapeng Chong [this message]
2022-01-20 23:47 ` Miguel Ojeda
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=20220119023947.30628-1-jiapeng.chong@linux.alibaba.com \
--to=jiapeng.chong@linux.alibaba.com \
--cc=abaci@linux.alibaba.com \
--cc=alex.gaynor@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=wedsonaf@google.com \
/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
Powered by JetHome