staging: rtl8723au: Remove unused SetFrameType() macro
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:08 +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 bfc0e1f3b71f4162561005041f92590e658a4641..6b2f83ed909af2310552b3e511c923a1602824a8 100644 (file)
@@ -72,12 +72,6 @@ enum WIFI_FRAME_SUBTYPE {
 #define SetFrDs(pbuf)  \
        (*(__le16 *)(pbuf) |= cpu_to_le16(IEEE80211_FCTL_FROMDS))
 
-#define SetFrameType(pbuf, type)       \
-       do {    \
-               *(__le16 *)(pbuf) &= __constant_cpu_to_le16(~(BIT(3) | BIT(2))); \
-               *(__le16 *)(pbuf) |= __constant_cpu_to_le16(type); \
-       } while (0)
-
 #define SetFrameSubType(pbuf, type) \
        do {    \
                *(__le16 *)(pbuf) &= cpu_to_le16(~(BIT(7) | BIT(6) | BIT(5) | BIT(4) | BIT(3) | BIT(2))); \