Skip to contentSkip to conversation

sched: Fix trailing comma in sched_init()

PATCH New Furkan Caliskan 1 participant 1 message Feb 9 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: Fix trailing comma in sched_init()

Replace trailing comma with semicolon after

init_task.se.slice = sysctl_sched_base_slice,

The current form is valid due to the comma operator. This change is for code clarity. No functional change.

---
 kernel/sched/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/core.c +1 -1
index b411e4feff7..55c82b3158a 100644
@@ -8712,7 +8712,7 @@ void __init sched_init(void)
 	}
 
 	set_load_weight(&init_task, false);
-	init_task.se.slice = sysctl_sched_base_slice,
+	init_task.se.slice = sysctl_sched_base_slice;
 
 	/*
 	 * The boot idle thread does lazy MMU switching as well:
Signature · 1 line
2.34.1