Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scx_bpfland: drop unused variable #531

Merged
merged 1 commit into from
Aug 21, 2024
Merged

scx_bpfland: drop unused variable #531

merged 1 commit into from
Aug 21, 2024

Commits on Aug 21, 2024

  1. scx_bpfland: drop unused variable

    With the global scx_utils::NR_CPU_IDS we don't need Topology anymore in
    init_primary_domain(), so drop the variable to fix the following build
    warning:
    
    warning: unused variable: `topo`
       --> src/main.rs:385:9
        |
    385 |         topo: &Topology,
        |         ^^^^ help: if this is intentional, prefix it with an underscore: `_topo`
        |
        = note: `#[warn(unused_variables)]` on by default
    
    Fixes: 1da249f ("scx_utils::topology: Always use NR_CPU_IDS and NR_CPUS_POSSIBLE")
    Signed-off-by: Andrea Righi <[email protected]>
    arighi committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    fedfee0 View commit details
    Browse the repository at this point in the history