OSDN Git Service

staging: rtl8723au: Get rid of obsolete SetPriority()/SetEOSP()/SetAckpolicy()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:07 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:47 +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 4052de7..bfc0e1f 100644 (file)
@@ -84,15 +84,6 @@ enum WIFI_FRAME_SUBTYPE {
                *(__le16 *)(pbuf) |= cpu_to_le16(type); \
        } while (0)
 
-#define SetPriority(pbuf, tid) \
-       (*(__le16 *)(pbuf) |= cpu_to_le16(tid & 0xf))
-
-#define SetEOSP(pbuf, eosp)    \
-       (*(__le16 *)(pbuf) |= cpu_to_le16((eosp & 1) << 4))
-
-#define SetAckpolicy(pbuf, ack)        \
-       (*(__le16 *)(pbuf) |= cpu_to_le16((ack & 3) << 5))
-
 #define _ASOCREQ_IE_OFFSET_            4       /*  excluding wlan_hdr */
 #define        _ASOCRSP_IE_OFFSET_             6
 #define _REASOCREQ_IE_OFFSET_          10