Skip to content

Commit 3d44147

Browse files
tamirdDanilo Krummrich
authored andcommitted
rust: drm: remove unnecessary imports
`kernel::str::CStr` is included in the prelude. Signed-off-by: Tamir Duberstein <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 162c901 commit 3d44147

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/gpu/drm/drm_panic_qr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! * <https://github.com/erwanvivien/fast_qr>
2828
//! * <https://github.com/bjguillot/qr>
2929
30-
use kernel::{prelude::*, str::CStr};
30+
use kernel::prelude::*;
3131

3232
#[derive(Debug, Clone, Copy, PartialEq, Eq, Ord, PartialOrd)]
3333
struct Version(usize);

rust/kernel/drm/driver.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use crate::{
1010
drm,
1111
error::{to_result, Result},
1212
prelude::*,
13-
str::CStr,
1413
types::ARef,
1514
};
1615
use macros::vtable;

0 commit comments

Comments
 (0)