Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Gary Guo and committed by
Jens Axboe
b2b2ce87 0d56d9ca

-4
-1
drivers/block/rnull/configfs.rs
··· 13 13 str::{kstrtobool_bytes, CString}, 14 14 sync::Mutex, 15 15 }; 16 - use pin_init::PinInit; 17 16 18 17 pub(crate) fn subsystem() -> impl PinInit<kernel::configfs::Subsystem<Config>, Error> { 19 18 let item_type = configfs_attrs! {
-3
drivers/block/rnull/rnull.rs
··· 14 14 Operations, TagSet, 15 15 }, 16 16 }, 17 - error::Result, 18 - pr_info, 19 17 prelude::*, 20 18 sync::{aref::ARef, Arc}, 21 19 }; 22 - use pin_init::PinInit; 23 20 24 21 module! { 25 22 type: NullBlkModule,