tool: Fix clippy warnings
Fix: - clippy::unnecessary_cast - clippy::needless_borrow Allow: - clippy::uninlined_format_args - clippy::get_first Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
782f18a3f6
commit
4fa389e1bd
@@ -158,7 +158,7 @@ impl Access for AccessLpcLinux {
|
||||
}
|
||||
|
||||
// Write command byte, which starts command
|
||||
self.write_cmd(SMFI_CMD_CMD, cmd as u8)?;
|
||||
self.write_cmd(SMFI_CMD_CMD, cmd)?;
|
||||
|
||||
// Wait for command to finish with timeout
|
||||
self.timeout.reset();
|
||||
|
Reference in New Issue
Block a user