On Fri, Oct 22, 2021 at 01:37:37PM +, Visa Hankala wrote:
> Mutex and rwlock assertions turn into no-ops when compiling without
> the DIAGNOSTIC option, which is the desired outcome. However, in some
> peculiar cases, such as klist_mutex_assertlk() and klist_rwlock_assertlk(),
> the lock variab
Mutex and rwlock assertions turn into no-ops when compiling without
the DIAGNOSTIC option, which is the desired outcome. However, in some
peculiar cases, such as klist_mutex_assertlk() and klist_rwlock_assertlk(),
the lock variable insidiously becomes unused in the function. This could
be avoided i