mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
hypervisor: fix riscv clippy lint
In preparation for enabling tools/clippy to check riscv, clean up the warning in the hypervisor crate. Change-Id: Iab2d1f703e0ab5e40ed165873376cdfabdc3de60 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4505756 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Dennis Kempin <denniskempin@google.com>
This commit is contained in:
parent
1d839d694b
commit
3df3d394cd
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ impl VcpuRiscv64 for KvmVcpu {
|
|||
if ret == 0 {
|
||||
Ok(val)
|
||||
} else {
|
||||
return errno_result();
|
||||
errno_result()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue