Message ID | CAOh2x==kfRXeN_OGL822izfDEZ66uvTT=uxBaiwUdC3ca6O-dQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index c32872872cb6..ad5b30e5e6d9 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -2856,9 +2856,6 @@ static int printk_kthread_func(void *data) static int __init_printk_kthread(void) { struct task_struct *thread; - struct sched_param param = { - .sched_priority = MAX_RT_PRIO - 1, - }; if (!printk_kthread_can_run || printk_sync || printk_kthread) return 0; @@ -2870,7 +2867,6 @@ static int __init_printk_kthread(void) return PTR_ERR(thread); } - sched_setscheduler(thread, SCHED_FIFO, ¶m); printk_kthread = thread; return 0; }