callout: Remove an unneeded MTX_NEW
Reported by: hselasky
Fixes: 78cfa762eb
("callout: Move per-CPU callout state into the dpcpu region")
This commit is contained in:
parent
a81f5112a0
commit
2c0209a2ca
@ -321,7 +321,7 @@ callout_cpu_init(struct callout_cpu *cc, int cpu)
|
||||
{
|
||||
int i;
|
||||
|
||||
mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN | MTX_NEW);
|
||||
mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN);
|
||||
cc->cc_callwheel = malloc_domainset(sizeof(struct callout_list) *
|
||||
callwheelsize, M_CALLOUT,
|
||||
DOMAINSET_PREF(pcpu_find(cpu)->pc_domain), M_WAITOK);
|
||||
|
Loading…
Reference in New Issue
Block a user