diff options
| author | Tamir Duberstein <[email protected]> | 2025-07-04 19:50:44 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-07-05 15:07:24 +0000 |
| commit | 65f8f0d4e0b45dc784f18a7ca4739e1df12b950a (patch) | |
| tree | c75039d6d10f8314044a2efe70c366b834234e72 /samples/rust/rust_driver_auxiliary.rs | |
| parent | rust: platform: remove unnecessary import (diff) | |
| download | kernel-65f8f0d4e0b45dc784f18a7ca4739e1df12b950a.tar.gz kernel-65f8f0d4e0b45dc784f18a7ca4739e1df12b950a.zip | |
rust: auxiliary: remove unnecessary import
`kernel::str::CStr` is included in the prelude.
Signed-off-by: Tamir Duberstein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'samples/rust/rust_driver_auxiliary.rs')
| -rw-r--r-- | samples/rust/rust_driver_auxiliary.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/rust/rust_driver_auxiliary.rs b/samples/rust/rust_driver_auxiliary.rs index 3e15e6d002bb..b25628604a93 100644 --- a/samples/rust/rust_driver_auxiliary.rs +++ b/samples/rust/rust_driver_auxiliary.rs @@ -5,8 +5,7 @@ //! To make this driver probe, QEMU must be run with `-device pci-testdev`. use kernel::{ - auxiliary, bindings, c_str, device::Core, driver, error::Error, pci, prelude::*, str::CStr, - InPlaceModule, + auxiliary, bindings, c_str, device::Core, driver, error::Error, pci, prelude::*, InPlaceModule, }; use pin_init::PinInit; |
