rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rust: Remove unused including <linux/version.h>
@ 2022-01-19  2:39 Jiapeng Chong
  2022-01-20 23:47 ` Miguel Ojeda
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-01-19  2:39 UTC (permalink / raw)
  To: ojeda
  Cc: alex.gaynor, wedsonaf, rust-for-linux, linux-kernel,
	Jiapeng Chong, Abaci Robot

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-20 23:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  2:39 [PATCH] rust: Remove unused including <linux/version.h> Jiapeng Chong
2022-01-20 23:47 ` Miguel Ojeda

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).