From: Jes Sorensen Date: Wed, 21 May 2014 07:38:07 +0000 (+0200) Subject: staging: rtl8723au: Get rid of obsolete SetPriority()/SetEOSP()/SetAckpolicy() X-Git-Tag: v4.14-rc1~7083^2~39^2~603 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd70034159f9c368f389816918f9e71468745a3a;p=platform%2Fkernel%2Flinux-rpi.git staging: rtl8723au: Get rid of obsolete SetPriority()/SetEOSP()/SetAckpolicy() Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/include/wifi.h b/drivers/staging/rtl8723au/include/wifi.h index 4052de7..bfc0e1f 100644 --- a/drivers/staging/rtl8723au/include/wifi.h +++ b/drivers/staging/rtl8723au/include/wifi.h @@ -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