[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220119023947.30628-1-jiapeng.chong@linux.alibaba.com>
Date: Wed, 19 Jan 2022 10:39:47 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: ojeda@...nel.org
Cc: alex.gaynor@...il.com, wedsonaf@...gle.com,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] rust: Remove unused including <linux/version.h>
Eliminate the follow versioncheck warning:
./rust/kernel/bindings_helper.h: 13 linux/version.h not needed.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.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
Powered by blists - more mailing lists