crosvm/devices
Clarissa Garvey 5dd9008abf devices/src/virtio: Refactor out needless_returns
Before this CL, there were several places with suppressed clippy
warnings about needless_return statements following the same pattern of
spawning a worker thread in a match statement. After this CL, those
places have had the work refactored out of the match statement such that
there is no needless_return triggered by the code, but it does the same
thing.

BUG=chromium:908640, b:157245930
TEST=cargo clippy with needless_return suppression removed

Change-Id: Idfa4a16597d973ef840a031990c01640c4a8252d
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4014833
Commit-Queue: Clarissa Garvey <clarissagarvey@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2022-11-09 19:15:45 +00:00
..
src devices/src/virtio: Refactor out needless_returns 2022-11-09 19:15:45 +00:00
tests/irqchip Reformat all files with nightly 2022-10-31 21:33:33 +00:00
Cargo.toml win_audio: build and test win_audio 2022-11-01 20:40:09 +00:00