Remove unnecessary return satements

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2021-07-02 17:27:36 +04:00
parent 9256b21d4a
commit 133f2046b3

View File

@ -85,21 +85,21 @@ impl Console {
if let Some(msg) = msg? {
log::debug!("Ignoring {:?}", msg);
}
return Ok(());
Ok(())
},
msg = self.keyboard.next_signal().fuse() => {
if let Some(msg) = msg? {
log::debug!("Ignoring {:?}", msg);
}
return Ok(());
Ok(())
},
msg = self.mouse.next_signal().fuse() => {
if let Some(msg) = msg? {
log::debug!("Ignoring {:?}", msg);
}
return Ok(());
Ok(())
}
);
)
}
pub async fn label(&self) -> Result<String> {