sx: whack set-but-not-used warn in _sx_slock_hard

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2023-02-21 13:49:14 +00:00
parent dbcd7e7e32
commit de709b1455

View File

@ -1039,7 +1039,7 @@ _sx_slock_hard(struct sx *sx, int opts, uintptr_t x LOCK_FILE_LINE_ARG_DEF)
#if defined(KDTRACE_HOOKS) || defined(LOCK_PROFILING)
uintptr_t state = 0;
#endif
int extra_work = 0;
int extra_work __sdt_used = 0;
td = curthread;