Retire the IF_ADDR_LOCK() and IF_ADDR_UNLOCK() compat macros from HEAD.

The new [RW]LOCK macros are merged back to 8.x so should be suitable for
new code in HEAD even if it is to be MFC'd.
This commit is contained in:
John Baldwin 2012-03-19 21:09:12 +00:00
parent 8317ddc843
commit 02ed02af7b

View File

@ -253,9 +253,6 @@ typedef void if_init_f_t(void *);
#define IF_ADDR_RUNLOCK(if) rw_runlock(&(if)->if_addr_lock)
#define IF_ADDR_LOCK_ASSERT(if) rw_assert(&(if)->if_addr_lock, RA_LOCKED)
#define IF_ADDR_WLOCK_ASSERT(if) rw_assert(&(if)->if_addr_lock, RA_WLOCKED)
/* XXX: Compat. */
#define IF_ADDR_LOCK(if) IF_ADDR_WLOCK(if)
#define IF_ADDR_UNLOCK(if) IF_ADDR_WUNLOCK(if)
/*
* Function variations on locking macros intended to be used by loadable