Label inp as unused in the non-INVARIANTS case

This commit is contained in:
Kip Macy 2008-03-24 00:29:01 +00:00
parent f001eabf3a
commit 8815ab518a

View File

@ -296,12 +296,12 @@ void inp_wlock_assert(struct inpcb *);
void inp_wunlock_assert(struct inpcb *);
#else
static __inline void
inp_wlock_assert(struct inpcb *inp)
inp_wlock_assert(struct inpcb *inp __unused)
{
}
static __inline void
inp_wunlock_assert(struct inpcb *inp)
inp_wunlock_assert(struct inpcb *inp __unused)
{
}
#endif