Skip to content

Commit

Permalink
Merge pull request #531 from sched-ext/bpfland-fix-unused-var
Browse files Browse the repository at this point in the history
scx_bpfland: drop unused variable
  • Loading branch information
htejun authored Aug 21, 2024
2 parents 6a2faf2 + fedfee0 commit 2e63c0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scheds/rust/scx_bpfland/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ impl<'a> Scheduler<'a> {
let topo = Topology::new().unwrap();

// Initialize the primary scheduling domain (based on the --primary-domain option).
Self::init_primary_domain(&mut skel, &topo, &opts.primary_domain)?;
Self::init_primary_domain(&mut skel, &opts.primary_domain)?;

// Initialize L2 cache domains.
if !opts.disable_l2 {
Expand Down Expand Up @@ -383,7 +383,6 @@ impl<'a> Scheduler<'a> {

fn init_primary_domain(
skel: &mut BpfSkel<'_>,
topo: &Topology,
primary_domain: &Cpumask,
) -> Result<()> {
info!("primary CPU domain = 0x{:x}", primary_domain);
Expand Down

0 comments on commit 2e63c0b

Please sign in to comment.