Skip to content

Commit

Permalink
staging: vt6656: Remove all commented macros
Browse files Browse the repository at this point in the history
These macros were 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>
  • Loading branch information
Marcos Paulo de Souza authored and Greg Kroah-Hartman committed Jul 9, 2012
1 parent a6fadf5 commit 1acc0d6
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/vt6656/80211hdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
#define WLAN_HDR_ADDR4_LEN 30
#define WLAN_IEHDR_LEN 2
#define WLAN_SSID_MAXLEN 32
/* #define WLAN_RATES_MAXLEN 255 */
#define WLAN_RATES_MAXLEN 16
#define WLAN_RATES_MAXLEN_11B 4
#define WLAN_RSN_MAXLEN 32
Expand All @@ -104,7 +103,6 @@
#define WLAN_WEP40_KEYLEN 5
#define WLAN_WEP104_KEYLEN 13
#define WLAN_WEP232_KEYLEN 29
/* #define WLAN_WEPMAX_KEYLEN 29 */
#define WLAN_WEPMAX_KEYLEN 32
#define WLAN_CHALLENGE_IE_MAXLEN 255
#define WLAN_CHALLENGE_IE_LEN 130
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/vt6656/bssdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@
// send and receive non-IEEE 802.1X frames
#define WLAN_STA_AUTHORIZED BIT5

//#define MAX_RATE 12

#define MAX_WPA_IE_LEN 64


Expand Down
1 change: 0 additions & 1 deletion drivers/staging/vt6656/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ typedef enum _CARD_OP_MODE {
} CARD_OP_MODE, *PCARD_OP_MODE;

#define CB_MAX_CHANNEL_24G 14
/* #define CB_MAX_CHANNEL_5G 24 */
#define CB_MAX_CHANNEL_5G 42 /* add channel9(5045MHz), 41==>42 */
#define CB_MAX_CHANNEL (CB_MAX_CHANNEL_24G+CB_MAX_CHANNEL_5G)

Expand Down
4 changes: 0 additions & 4 deletions drivers/staging/vt6656/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@
#define MAX_MULTICAST_ADDRESS_NUM 32
#define MULTICAST_ADDRESS_LIST_SIZE (MAX_MULTICAST_ADDRESS_NUM * ETH_ALEN)

//#define OP_MODE_INFRASTRUCTURE 0
//#define OP_MODE_ADHOC 1
//#define OP_MODE_AP 2

#define DUPLICATE_RX_CACHE_LENGTH 5

#define NUM_KEY_ENTRY 11
Expand Down
5 changes: 0 additions & 5 deletions drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,6 @@ static const long frequency_list[] = {
};
#ifndef IW_ENCODE_NOKEY
#define IW_ENCODE_NOKEY 0x0800
#define IW_ENCODE_MODE (IW_ENCODE_DISABLED | IW_ENCODE_RESTRICTED | IW_ENCODE_OPEN)
#endif
static const struct iw_handler_def iwctl_handler_def;
*/

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/vt6656/mib.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ typedef struct tagSMib2Counter {
} SMib2Counter, *PSMib2Counter;

// Value in the ifType entry
//#define ETHERNETCSMACD 6 //
#define WIRELESSLANIEEE80211b 6 //

// Value in the ifAdminStatus/ifOperStatus entry
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/vt6656/tether.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
#define TYPE_CTL_ACK 0xd400


//#define WEP_IV_MASK 0xFFFFFF00

#else //if LITTLE_ENDIAN
//
Expand Down Expand Up @@ -111,7 +110,6 @@
#define TYPE_CTL_ACK 0x00d4


//#define WEP_IV_MASK 0x00FFFFFF

#endif //#ifdef __BIG_ENDIAN

Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/vt6656/usbpipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@
//endpoint 2: read bulk
//endpoint 3: write bulk

//RequestType:
//#define REQUEST_OUT (USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE) // 0x40
//#define REQUEST_IN (USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE ) //0xc0
//static int msglevel =MSG_LEVEL_DEBUG;
static int msglevel =MSG_LEVEL_INFO;

Expand Down

0 comments on commit 1acc0d6

Please sign in to comment.