Don't pass RFPROC to kproc_create(), it is redundant.

Sponsored by:	Netflix

(cherry picked from commit 5a50eb6585)
This commit is contained in:
John Baldwin 2021-03-12 09:48:10 -08:00
parent 1a325aa204
commit cc6d86f2ff
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ sctp_startup_iterator(void)
kproc_create(sctp_iterator_thread,
(void *)NULL,
&sctp_it_ctl.thread_proc,
RFPROC,
0,
SCTP_KTHREAD_PAGES,
SCTP_KTRHEAD_NAME);
}

View file

@ -5678,7 +5678,7 @@ sctp_startup_mcore_threads(void)
(void)kproc_create(sctp_mcore_thread,
(void *)&sctp_mcore_workers[cpu],
&sctp_mcore_workers[cpu].thread_proc,
RFPROC,
0,
SCTP_KTHREAD_PAGES,
SCTP_MCORE_NAME);
}