From 686e86409748263ca945584509952e2d9c6a476b Mon Sep 17 00:00:00 2001 From: adrian Date: Tue, 22 Sep 2015 02:48:59 +0000 Subject: net80211 & wireless drivers: remove duplicate defines (noop) - IEEE80211_DIR_DSTODS(wh) -> IEEE80211_IS_DSTODS(wh). - N(a) -> nitems(a). - Remove LE_READ_2(p)/LE_READ_4(p) definitions (and include ieee80211_input.h instead). - _TXOP_TO_US(txop) -> IEEE80211_TXOP_TO_US(txop). - Put IEEE80211_RV(v) into ieee80211_proto.h and remove local RV(v) definitions. Submitted by: Andriy Voskoboinyk Differential Revision: https://reviews.freebsd.org/D3705 --- sys/dev/usb/wlan/if_uathvar.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/usb/wlan/if_uathvar.h') diff --git a/sys/dev/usb/wlan/if_uathvar.h b/sys/dev/usb/wlan/if_uathvar.h index 56b5ba3..4b4d9fc 100644 --- a/sys/dev/usb/wlan/if_uathvar.h +++ b/sys/dev/usb/wlan/if_uathvar.h @@ -102,7 +102,6 @@ struct uath_wme_settings { uint8_t logcwmin; uint8_t logcwmax; uint16_t txop; -#define UATH_TXOP_TO_US(txop) ((txop) << 5) uint8_t acm; }; -- cgit v1.1