staging: rtl8723au: wifi.h: Remove unused SetRetry() + SetAMsdu() macros
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:37:45 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:44 +0000 (16:27 +0900)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/wifi.h

index 2d1e33aa69886408cfbf33c8e7f478abdef6dae8..4a84d0c72afbf8f7bdf7fce7c6a6479374605d7d 100644 (file)
@@ -87,9 +87,6 @@ enum WIFI_REG_DOMAIN {
 #define SetFrDs(pbuf)  \
        (*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_FROMDS))
 
-#define SetRetry(pbuf) \
-       (*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_RETRY))
-
 #define SetPwrMgt(pbuf)        \
        (*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_PM))
 
@@ -138,9 +135,6 @@ enum WIFI_REG_DOMAIN {
 #define SetAckpolicy(pbuf, ack)        \
        (*(__le16 *)(pbuf) |= cpu_to_le16((ack & 3) << 5))
 
-#define SetAMsdu(pbuf, amsdu)  \
-       (*(__le16 *)(pbuf) |= cpu_to_le16((amsdu & 1) << 7))
-
 #define _ASOCREQ_IE_OFFSET_            4       /*  excluding wlan_hdr */
 #define        _ASOCRSP_IE_OFFSET_             6
 #define _REASOCREQ_IE_OFFSET_          10