block: rnull: 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 <gary@garyguo.net>
Acked-by: Andreas Hindborg <a.hindborg@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Gary Guo 2026-01-23 17:19:41 +00:00 committed by Jens Axboe
parent 0d56d9ca9f
commit b2b2ce8706
2 changed files with 0 additions and 4 deletions

View File

@ -13,7 +13,6 @@ use kernel::{
str::{kstrtobool_bytes, CString},
sync::Mutex,
};
use pin_init::PinInit;
pub(crate) fn subsystem() -> impl PinInit<kernel::configfs::Subsystem<Config>, Error> {
let item_type = configfs_attrs! {

View File

@ -14,12 +14,9 @@ use kernel::{
Operations, TagSet,
},
},
error::Result,
pr_info,
prelude::*,
sync::{aref::ARef, Arc},
};
use pin_init::PinInit;
module! {
type: NullBlkModule,