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:
Mark Johnston 2023-04-26 11:15:56 -04:00
parent a81f5112a0
commit 2c0209a2ca

View File

@ -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);