From: Jes Sorensen Date: Wed, 21 May 2014 07:38:00 +0000 (+0200) Subject: staging: rtl8723au: wifi.h: Remove unused SetFragNum() macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2bdbf939e0e6451d2617ff0bf47eb50987b36d04;p=linux-beck.git staging: rtl8723au: wifi.h: Remove unused SetFragNum() 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 e776727c8d9b..8d3066c1817a 100644 --- a/drivers/staging/rtl8723au/include/wifi.h +++ b/drivers/staging/rtl8723au/include/wifi.h @@ -93,13 +93,6 @@ enum WIFI_FRAME_SUBTYPE { *(__le16 *)(pbuf) |= cpu_to_le16(type); \ } while (0) -#define SetFragNum(pbuf, num) \ - do { \ - *(unsigned short *)((unsigned long)(pbuf) + 22) = \ - ((*(unsigned short *)((unsigned long)(pbuf) + 22)) & le16_to_cpu(~(0x000f))) | \ - cpu_to_le16(0x0f & (num)); \ - } while (0) - #define SetDuration(pbuf, dur) \ (*(__le16 *)((unsigned long)(pbuf) + 2) = \ cpu_to_le16(0xffff & (dur)))