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

Reviewed by:	tuexen, kib
MFC after:	1 week
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D29206
This commit is contained in:
John Baldwin 2021-03-12 09:48:10 -08:00
parent 645b15e558
commit 5a50eb6585
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);
}