Skip to content

Commit

Permalink
audio: Fix clippy
Browse files Browse the repository at this point in the history
Seems with newer hid version, mutable is not required anymore.

Signed-off-by: Daniel Schaefer <[email protected]>
  • Loading branch information
JohnAZoidberg committed Aug 13, 2024
1 parent 5f7eb89 commit 0f1f52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework_lib/src/audio_card.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub fn check_synaptics_fw_version() {
{
continue;
}
let mut handle = dev.open().unwrap();
let handle = dev.open().unwrap();

let interface_number = if let Some(num) = find_hid_interface(&handle) {
num
Expand Down

0 comments on commit 0f1f52c

Please sign in to comment.