staging: rtl8723au: wifi.h: Remove unused SetFragNum() macro
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 21 May 2014 07:38:00 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 07:27:46 +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 e776727c8d9b7aa2857a225b39f8f72aa6ec3622..8d3066c1817a768196955ac3265ecc3770e86e62 100644 (file)
@@ -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)))