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:
parent
645b15e558
commit
5a50eb6585
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user