staging: vtt6655: 80211hdr.h, 80211mgr.c: General cleanup
PATCH 1/3 staging: vtt6655: 80211hdr.h, 80211mgr.c: General cleanup
This patch removes some useless comments, commented code and blank lines. Also fix coding style of headers of functions.
Signed-off-by Marcos Paulo de Souza <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
--- drivers/staging/vt6655/80211hdr.h | 14 -- drivers/staging/vt6655/80211mgr.c | 300 ++++++------------------------------- 2 files changed, 43 insertions(+), 271 deletions(-)
drivers/staging/vt6655/80211hdr.h +0 -14
@@ -33,7 +33,6 @@#include "ttype.h" -/*--------------------- Export Definitions -------------------------*/ /* bit type */ #define BIT0 0x00000001#define BIT1 0x00000002
@@ -80,7 +79,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
@@ -106,7 +104,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
@@ -339,15 +336,4 @@ typedef union tagUWLAN_80211HDR { } UWLAN_80211HDR, *PUWLAN_80211HDR; - -/*--------------------- Export Classes ----------------------------*/ - -/*--------------------- Export Variables --------------------------*/ - -/*--------------------- Export Functions --------------------------*/ - - -#endif /* __80211HDR_H__ */ - -
drivers/staging/vt6655/80211mgr.c +43 -257
466 lines not on this page · raw message
Signature · 1 line
1.7.4.4
Quoted 9 lines · Marcos Paulo de Souza
This patch removes some useless comments, commented code and blank lines. Also fix coding style of headers of functions.
Signed-off-by Marcos Paulo de Souza <[email protected]>Cc Greg Kroah-Hartman <[email protected]>--- drivers/staging/vt6655/80211hdr.h | 14 -- drivers/staging/vt6655/80211mgr.c | 300 ++++++-------------------------------
Please split this up into one-patch-per-thing-you-do.
thanks,
greg k-h