mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 04:00:24 +00:00
Merge pull request #531 from sched-ext/bpfland-fix-unused-var
scx_bpfland: drop unused variable
This commit is contained in:
commit
2e63c0be60
@ -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 {
|
||||
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user