Skip to content

Commit 93643b9

Browse files
Frederic WeisbeckerKAGA-KOKO
authored andcommitted
timers/migration: Remove unused "cpu" parameter from tmigr_get_group()
Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://patch.msgid.link/20251024132536.39841-6-frederic@kernel.org
1 parent 3c8eb36 commit 93643b9

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

kernel/time/timer_migration.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,8 +1511,7 @@ static void tmigr_init_group(struct tmigr_group *group, unsigned int lvl,
15111511
group->groupevt.ignore = true;
15121512
}
15131513

1514-
static struct tmigr_group *tmigr_get_group(unsigned int cpu, int node,
1515-
unsigned int lvl)
1514+
static struct tmigr_group *tmigr_get_group(int node, unsigned int lvl)
15161515
{
15171516
struct tmigr_group *tmp, *group = NULL;
15181517

@@ -1636,7 +1635,7 @@ static int tmigr_setup_groups(unsigned int cpu, unsigned int node,
16361635
root_mismatch = tmigr_root->numa_node != node;
16371636

16381637
for (i = start_lvl; i < tmigr_hierarchy_levels; i++) {
1639-
group = tmigr_get_group(cpu, node, i);
1638+
group = tmigr_get_group(node, i);
16401639
if (IS_ERR(group)) {
16411640
err = PTR_ERR(group);
16421641
i--;

0 commit comments

Comments
 (0)