From fcbc35587778738145d4f18f95d44631a5c54845 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Fri, 23 Jan 2026 17:19:42 +0000 Subject: samples: rust: remove imports available via prelude These imports are already in scope by importing `kernel::prelude::*` and does not need to be imported separately. Signed-off-by: Gary Guo Reviewed-by: Alice Ryhl Acked-by: Danilo Krummrich Acked-by: Greg Kroah-Hartman Link: https://patch.msgid.link/20260123172007.136873-4-gary@garyguo.net Signed-off-by: Miguel Ojeda --- samples/rust/rust_misc_device.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'samples/rust/rust_misc_device.rs') diff --git a/samples/rust/rust_misc_device.rs b/samples/rust/rust_misc_device.rs index d69bc33dbd99..3ef8da543abf 100644 --- a/samples/rust/rust_misc_device.rs +++ b/samples/rust/rust_misc_device.rs @@ -95,8 +95,6 @@ //! } //! ``` -use core::pin::Pin; - use kernel::{ c_str, device::Device, -- cgit v1.2.3