Skip to content

Commit

Permalink
Merge pull request #296 from facebookexperimental/dep-updates
Browse files Browse the repository at this point in the history
cargo fmt
  • Loading branch information
htejun authored Sep 18, 2023
2 parents ea177f4 + 632f0b9 commit da9cb47
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions resctl-bench/src/bench/iocost_tune.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2351,11 +2351,7 @@ impl IoCostTuneJob {
// Merge files may be missing some solutions, so try defaults in order.
let mut available_solutions: Vec<(&str, &QoSSolution)> = (*DEFAULT_HWDB_MODELS)
.iter()
.map(|name| {
res.solutions
.get(*name)
.and_then(|s| Some((*name, s)))
})
.map(|name| res.solutions.get(*name).and_then(|s| Some((*name, s))))
.filter_map(|s| s)
.collect();

Expand Down

0 comments on commit da9cb47

Please sign in to comment.