summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-03-19 21:09:12 +0000
committerjhb <jhb@FreeBSD.org>2012-03-19 21:09:12 +0000
commite86f714c838f0ea47586ee0b771dc80bb182dfc8 (patch)
treee256cb44ae9ade9e103af8ad76078a2c1394b906 /sys/net
parent2b43dcda3af764ee424360472bd117a5f2bc20d9 (diff)
downloadFreeBSD-src-e86f714c838f0ea47586ee0b771dc80bb182dfc8.zip
FreeBSD-src-e86f714c838f0ea47586ee0b771dc80bb182dfc8.tar.gz
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.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_var.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index f756785..ab078b8 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -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
OpenPOWER on IntegriCloud