Commit b2b2ce87 authored by Gary Guo's avatar Gary Guo Committed by Jens Axboe
Browse files

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: default avatarGary Guo <gary@garyguo.net>
Acked-by: default avatarAndreas Hindborg <a.hindborg@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0d56d9ca
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
    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! {
+0 −3
Original line number Diff line number Diff line
@@ -14,12 +14,9 @@
            Operations, TagSet,
        },
    },
    error::Result,
    pr_info,
    prelude::*,
    sync::{aref::ARef, Arc},
};
use pin_init::PinInit;

module! {
    type: NullBlkModule,