Skip to content

Commit a587246

Browse files
committed
uefi-raw: Remove unnecessary mutability on ExtScsiPassThruProtocol::reset_target_lun
1 parent 691a3ed commit a587246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uefi-raw/src/protocol/scsi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub struct ExtScsiPassThruProtocol {
150150
) -> Status,
151151
pub reset_channel: unsafe extern "efiapi" fn(this: *mut Self) -> Status,
152152
pub reset_target_lun:
153-
unsafe extern "efiapi" fn(this: *mut Self, target: *const u8, lun: u64) -> Status,
153+
unsafe extern "efiapi" fn(this: *const Self, target: *const u8, lun: u64) -> Status,
154154
pub get_next_target:
155155
unsafe extern "efiapi" fn(this: *const Self, target: *mut *mut u8) -> Status,
156156
}

0 commit comments

Comments
 (0)