Skip to content

Commit

Permalink
mhsv-ioctls: fix clippy error
Browse files Browse the repository at this point in the history
Signed-off-by: Muminul Islam <[email protected]>
  • Loading branch information
russell-islam committed Aug 26, 2024
1 parent cd3a230 commit 44c382d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mshv-ioctls/src/ioctls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ impl MshvError {
/// * `error` - errno from the ioctl; usually errno:Error::last()
/// * `ret_args` - MSHV_ROOT_HVCALL args struct, after the ioctl completed
pub fn from_hvcall(error: errno::Error, ret_args: mshv_root_hvcall) -> Self {
use std::convert::TryFrom;
if ret_args.status != HV_STATUS_SUCCESS as u16 {
let hv_err = HvError::try_from(ret_args.status);
return MshvError::Hypercall {
Expand Down

0 comments on commit 44c382d

Please sign in to comment.