mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
Fix clippy nit
This should make Kokoro happy again. TEST=None BUG=None Change-Id: I601e6c03b60e1f9f93ecdb54c6c3bd76fb7d8a87 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2808133 Auto-Submit: Dennis Kempin <denniskempin@google.com> Reviewed-by: Abhishek Bhardwaj <abhishekbh@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org> Commit-Queue: Zach Reizner <zachr@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
e2ec08a696
commit
8a7cc6bf2d
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ fn spawn_recv_thread(
|
|||
if status == u32::MAX {
|
||||
// Anyone waiting for this would continue to wait for as long as status is
|
||||
// u32::MAX
|
||||
status = status - 1;
|
||||
status -= 1;
|
||||
}
|
||||
let offset = msg.buffer_offset as usize;
|
||||
let consumed_len = msg.consumed_len as usize;
|
||||
|
|
Loading…
Reference in a new issue