summary refs log tree commit diff
path: root/vm_control
diff options
context:
space:
mode:
Diffstat (limited to 'vm_control')
-rw-r--r--vm_control/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_control/src/lib.rs b/vm_control/src/lib.rs
index ac974a1..fcf87e8 100644
--- a/vm_control/src/lib.rs
+++ b/vm_control/src/lib.rs
@@ -321,7 +321,7 @@ impl VmRequest {
                     Ok(response) => VmResponse::UsbResponse(response),
                     Err(e) => {
                         error!("fail to recv command from usb control socket: {}", e);
-                        return VmResponse::Err(SysError::new(EIO));
+                        VmResponse::Err(SysError::new(EIO))
                     }
                 }
             }