Skip to content

Commit ad21446

Browse files
committed
fixup! rust: soc: apple: Add Apple mailbox abstractions
1 parent 6d556dc commit ad21446

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/soc/apple/mailbox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl<T: MailCallback> Mailbox<T> {
6464
unsafe {
6565
(*mbox).cookie = ptr;
6666
(*mbox).rx = Some(mailbox_rx_callback::<T>);
67-
to_result(unsafe { bindings::apple_mbox_start(mbox) })?;
67+
to_result(bindings::apple_mbox_start(mbox))?;
6868
}
6969
guard.dismiss();
7070
Ok(Mailbox {

0 commit comments

Comments
 (0)