crosvm/x86_64/src
Clarissa Garvey e2554f1532 LSC: safe removal of needless_returns
Currently, we ignore clippy::needless_return, with many violations in
the code base. This CL fixes trivial, safe-to-fix violations of
needless_return. These were found by removing the needless_return
suppression in .cargo/config.toml and then fixing needless returns.

These are not all needless returns in the code base; it is only the
trivial fixes. This CL is a part of a chain of CLs to fix the
needless_returns in the code base.

BUG=chromium:908640, b:157245930
TEST=cargo clippy + cargo build

Change-Id: I6f8f3a0bed25d774fba7ae4b6e4c021af439ec22
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4014832
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Clarissa Garvey <clarissagarvey@chromium.org>
2022-11-09 18:27:14 +00:00
..
acpi.rs LSC: safe removal of needless_returns 2022-11-09 18:27:14 +00:00
bootparam.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
bzimage.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
cpuid.rs LSC: safe removal of needless_returns 2022-11-09 18:27:14 +00:00
fdt.rs arch: split fdt code into its own crate 2022-10-19 17:43:19 +00:00
gdt.rs health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
interrupts.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
lib.rs x86_64: Extract integration tests 2022-11-03 22:47:21 +00:00
mpspec.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
mptable.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
msr.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
msr_index.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
regs.rs vm_memory: Add a method to check if a guest address range is valid 2022-10-12 03:57:43 +00:00
smbios.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00