From: Jes Sorensen Date: Wed, 21 May 2014 07:38:08 +0000 (+0200) Subject: staging: rtl8723au: Remove unused SetFrameType() macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0d280584c0c95b49859a6ffc2d9d2171e605716f;p=linux-beck.git staging: rtl8723au: Remove unused SetFrameType() macro 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 bfc0e1f3b71f..6b2f83ed909a 100644 --- a/drivers/staging/rtl8723au/include/wifi.h +++ b/drivers/staging/rtl8723au/include/wifi.h @@ -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))); \