mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
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:
@@ -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! {
|
||||
|
||||
@@ -14,12 +14,9 @@ use kernel::{
|
||||
Operations, TagSet,
|
||||
},
|
||||
},
|
||||
error::Result,
|
||||
pr_info,
|
||||
prelude::*,
|
||||
sync::{aref::ARef, Arc},
|
||||
};
|
||||
use pin_init::PinInit;
|
||||
|
||||
module! {
|
||||
type: NullBlkModule,
|
||||
|
||||
Reference in New Issue
Block a user