lock unused when INVARIANTS not defined, so don't declare it then
This commit is contained in:
parent
3f08bd8bce
commit
6229621e2c
@ -853,7 +853,9 @@ DB_SHOW_COMMAND(sleepq, db_show_sleepqueue)
|
||||
{
|
||||
struct sleepqueue_chain *sc;
|
||||
struct sleepqueue *sq;
|
||||
#ifdef INVARIANTS
|
||||
struct lock_object *lock;
|
||||
#endif
|
||||
struct thread *td;
|
||||
void *wchan;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user