cloud-hypervisor/hypervisor/src
Rob Bradford 9c5be6f660 build: Remove unnecessary Result<> returns
If the function can never return an error this is now a clippy failure:

error: this function's return value is unnecessarily wrapped by `Result`
   --> virtio-devices/src/watchdog.rs:215:5
    |
215 | /     fn set_state(&mut self, state: &WatchdogState) -> io::Result<()> {
216 | |         self.common.avail_features = state.avail_features;
217 | |         self.common.acked_features = state.acked_features;
218 | |         // When restoring enable the watchdog if it was previously enabled. We reset the timer
...   |
223 | |         Ok(())
224 | |     }
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-02-11 18:18:44 +00:00
..
arch build: Remove unnecessary Result<> returns 2021-02-11 18:18:44 +00:00
kvm build: Update to latest kvm-ioctls 2021-02-08 18:16:18 +00:00
mshv build: Remove unnecessary Result<> returns 2021-02-11 18:18:44 +00:00
cpu.rs hypervisor, vmm: Implement the mshv module and add mshv support in vmm 2020-12-09 14:55:20 +01:00
device.rs hypervisor: Implement get_device_attr method for AArch64 2020-09-23 12:37:25 +01:00
hypervisor.rs hypervisor, vmm: Implement the mshv module and add mshv support in vmm 2020-12-09 14:55:20 +01:00
lib.rs hypervisor: Move msr and msr_data macro to arch/x86 2020-12-11 00:59:46 +01:00
vm.rs hypervisor, vmm: minor changes to VmmOps 2021-02-10 11:31:03 +00:00