Skip to content

Commit

Permalink
Hopefully fixed linting?
Browse files Browse the repository at this point in the history
  • Loading branch information
coolGi69 committed Jun 19, 2024
1 parent 3f61812 commit c4ae567
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,6 @@ impl GeneralReadout for LinuxGeneralReadout {
_ => return Err(ReadoutError::MetricNotAvailable),
};


let devices = get_pci_devices()?;
let mut gpus = vec![];

Expand Down Expand Up @@ -951,7 +950,7 @@ impl LinuxPackageReadout {

let connection = sqlite::Connection::open_with_flags(
// The nix store is immutable, so we need to inform sqlite about it
"file:".to_owned() + db + "?immutable=1",
"file:".to_owned() + db + "?immutable=1",
sqlite::OpenFlags::new().with_read_only().with_uri(),
);

Expand Down

0 comments on commit c4ae567

Please sign in to comment.