diff options
author | 2025-07-04 15:50:11 -0400 | |
---|---|---|
committer | 2025-07-06 10:38:27 +0200 | |
commit | db15ec7abd33ce245120f36be91f56f0ba0b247e (patch) | |
tree | 152222feda54f8189c4685228a17ad3b7be1c512 /rust/kernel/miscdevice.rs | |
parent | Revert "vmci: Prevent the dispatching of uninitialized payloads" (diff) | |
download | wireguard-linux-db15ec7abd33ce245120f36be91f56f0ba0b247e.tar.xz wireguard-linux-db15ec7abd33ce245120f36be91f56f0ba0b247e.zip |
rust: miscdevice: remove unnecessary import
`kernel::str::CStr` is included in the prelude.
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Link: https://lore.kernel.org/r/20250704-cstr-include-miscdevice-v1-1-bb9e9b17c892@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/miscdevice.rs')
-rw-r--r-- | rust/kernel/miscdevice.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/kernel/miscdevice.rs b/rust/kernel/miscdevice.rs index 939278bc7b03..f5b9a6130a7a 100644 --- a/rust/kernel/miscdevice.rs +++ b/rust/kernel/miscdevice.rs @@ -17,7 +17,6 @@ use crate::{ mm::virt::VmaNew, prelude::*, seq_file::SeqFile, - str::CStr, types::{ForeignOwnable, Opaque}, }; use core::{marker::PhantomData, mem::MaybeUninit, pin::Pin}; |