[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250704-cstr-include-platform-v1-1-ff7803ee7a81@gmail.com>
Date: Fri, 04 Jul 2025 15:49:54 -0400
From: Tamir Duberstein <tamird@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>, Danilo Krummrich <dakr@...nel.org>,
Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>
Cc: rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
Tamir Duberstein <tamird@...il.com>
Subject: [PATCH] rust: platform: remove unnecessary import
`kernel::str::CStr` is included in the prelude.
Signed-off-by: Tamir Duberstein <tamird@...il.com>
---
rust/kernel/platform.rs | 1 -
1 file changed, 1 deletion(-)
diff --git a/rust/kernel/platform.rs b/rust/kernel/platform.rs
index 0a6a6be732b2..12359d26bc6a 100644
--- a/rust/kernel/platform.rs
+++ b/rust/kernel/platform.rs
@@ -9,7 +9,6 @@
error::{to_result, Result},
of,
prelude::*,
- str::CStr,
types::{ForeignOwnable, Opaque},
ThisModule,
};
---
base-commit: 769e324b66b0d92d04f315d0c45a0f72737c7494
change-id: 20250704-cstr-include-platform-0d11ee834226
Best regards,
--
Tamir Duberstein <tamird@...il.com>
Powered by blists - more mailing lists