aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2012-07-08 21:55:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-09 15:43:25 -0400
commit728a9ca3cb390bc7d4aca53328fe272140025864 (patch)
tree0daa4693c74b3e2389bf5428e254a0c3dd06b892 /drivers/staging/vt6656
parent485b34c2dfb933592f211aa416ad4c1d2bed895a (diff)
staging: vt6656: desc.h: Remove commented macros and useless comments
The commented macros are reported by forgotten-macros tool(https://github.com/marcosps/forgotten_macros). Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r--drivers/staging/vt6656/desc.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/vt6656/desc.h b/drivers/staging/vt6656/desc.h
index 767112b3c4a..b68b2ec96ea 100644
--- a/drivers/staging/vt6656/desc.h
+++ b/drivers/staging/vt6656/desc.h
@@ -36,8 +36,6 @@
36#include "ttype.h" 36#include "ttype.h"
37#include "tether.h" 37#include "tether.h"
38 38
39/*--------------------- Export Definitions -------------------------*/
40
41// max transmit or receive buffer size 39// max transmit or receive buffer size
42#define CB_MAX_BUF_SIZE 2900U // max buffer size 40#define CB_MAX_BUF_SIZE 2900U // max buffer size
43 // NOTE: must be multiple of 4 41 // NOTE: must be multiple of 4
@@ -120,17 +118,11 @@
120#define FRAGCTL_TKIP 0x0200 // 0000 0010 0000 0000 118#define FRAGCTL_TKIP 0x0200 // 0000 0010 0000 0000
121#define FRAGCTL_LEGACY 0x0100 // 0000 0001 0000 0000 119#define FRAGCTL_LEGACY 0x0100 // 0000 0001 0000 0000
122#define FRAGCTL_NONENCRYPT 0x0000 // 0000 0000 0000 0000 120#define FRAGCTL_NONENCRYPT 0x0000 // 0000 0000 0000 0000
123//#define FRAGCTL_AC3 0x000C // 0000 0000 0000 1100
124//#define FRAGCTL_AC2 0x0008 // 0000 0000 0000 1000
125//#define FRAGCTL_AC1 0x0004 // 0000 0000 0000 0100
126//#define FRAGCTL_AC0 0x0000 // 0000 0000 0000 0000
127#define FRAGCTL_ENDFRAG 0x0003 // 0000 0000 0000 0011 121#define FRAGCTL_ENDFRAG 0x0003 // 0000 0000 0000 0011
128#define FRAGCTL_MIDFRAG 0x0002 // 0000 0000 0000 0010 122#define FRAGCTL_MIDFRAG 0x0002 // 0000 0000 0000 0010
129#define FRAGCTL_STAFRAG 0x0001 // 0000 0000 0000 0001 123#define FRAGCTL_STAFRAG 0x0001 // 0000 0000 0000 0001
130#define FRAGCTL_NONFRAG 0x0000 // 0000 0000 0000 0000 124#define FRAGCTL_NONFRAG 0x0000 // 0000 0000 0000 0000
131 125
132//#define TYPE_AC0DMA 0
133//#define TYPE_TXDMA0 1
134#define TYPE_TXDMA0 0 126#define TYPE_TXDMA0 0
135#define TYPE_AC0DMA 1 127#define TYPE_AC0DMA 1
136#define TYPE_ATIMDMA 2 128#define TYPE_ATIMDMA 2
@@ -147,9 +139,6 @@
147#define TD_FLAGS_NETIF_SKB 0x01 // check if need release skb 139#define TD_FLAGS_NETIF_SKB 0x01 // check if need release skb
148#define TD_FLAGS_PRIV_SKB 0x02 // check if called from private skb(hostap) 140#define TD_FLAGS_PRIV_SKB 0x02 // check if called from private skb(hostap)
149#define TD_FLAGS_PS_RETRY 0x04 // check if PS STA frame re-transmit 141#define TD_FLAGS_PS_RETRY 0x04 // check if PS STA frame re-transmit
150//#define TD_FLAGS_NETIF_SKB 0x04
151
152/*--------------------- Export Types ------------------------------*/
153 142
154// 143//
155// RsvTime buffer header 144// RsvTime buffer header
@@ -268,7 +257,6 @@ SRTS_a_FB, *PSRTS_a_FB;
268 257
269typedef const SRTS_a_FB *PCSRTS_a_FB; 258typedef const SRTS_a_FB *PCSRTS_a_FB;
270 259
271
272// 260//
273// CTS buffer header 261// CTS buffer header
274// 262//
@@ -421,12 +409,5 @@ typedef struct tagSKeyEntry {
421 DWORD dwKey4[4]; 409 DWORD dwKey4[4];
422} __attribute__ ((__packed__)) 410} __attribute__ ((__packed__))
423SKeyEntry; 411SKeyEntry;
424/*--------------------- Export Macros ------------------------------*/
425
426/*--------------------- Export Classes ----------------------------*/
427
428/*--------------------- Export Variables --------------------------*/
429
430/*--------------------- Export Functions --------------------------*/
431 412
432#endif /* __DESC_H__ */ 413#endif /* __DESC_H__ */