Skip to content

Commit ec2ae6f

Browse files
author
Andreas Hindborg
committed
rust: block: remove trait bound from struct
1 parent c6fd8ce commit ec2ae6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/block/mq/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ use core::{
5757
/// [`struct request`]: srctree/include/linux/blk-mq.h
5858
///
5959
#[repr(transparent)]
60-
pub struct Request<T: Operations>(Opaque<bindings::request>, PhantomData<T>);
60+
pub struct Request<T>(Opaque<bindings::request>, PhantomData<T>);
6161

6262
impl<T: Operations> Request<T> {
6363
/// Create an [`ARef<Request>`] from a [`struct request`] pointer.

0 commit comments

Comments
 (0)