From 2bdbf939e0e6451d2617ff0bf47eb50987b36d04 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Wed, 21 May 2014 09:38:00 +0200 Subject: [PATCH] staging: rtl8723au: wifi.h: Remove unused SetFragNum() macro Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/include/wifi.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8723au/include/wifi.h b/drivers/staging/rtl8723au/include/wifi.h index e776727..8d3066c 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))) -- 2.7.4