Removed redundant comments from key.h header file. Signed-off-by: Igor Bezukh <igbzkh@xxxxxxxxx> --- drivers/staging/vt6655/key.h | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/drivers/staging/vt6655/key.h b/drivers/staging/vt6655/key.h index 4b8b4b6..f0cbd75 100644 --- a/drivers/staging/vt6655/key.h +++ b/drivers/staging/vt6655/key.h @@ -34,7 +34,6 @@ #include "tether.h" #include "80211mgr.h" -/*--------------------- Export Definitions -------------------------*/ #define MAX_GROUP_KEY 4 #define MAX_KEY_TABLE 11 #define MAX_KEY_LEN 32 @@ -65,38 +64,27 @@ typedef struct tagSKeyItem unsigned char byReserved0; unsigned long dwKeyIndex; void *pvKeyTable; -} SKeyItem, *PSKeyItem; //64 +} SKeyItem, *PSKeyItem; typedef struct tagSKeyTable { - unsigned char abyBSSID[ETH_ALEN]; //6 - unsigned char byReserved0[2]; //8 + unsigned char abyBSSID[ETH_ALEN]; + unsigned char byReserved0[2]; SKeyItem PairwiseKey; - SKeyItem GroupKey[MAX_GROUP_KEY]; //64*5 = 320, 320+8=328 - unsigned long dwGTKeyIndex; // GroupTransmitKey Index + SKeyItem GroupKey[MAX_GROUP_KEY]; + unsigned long dwGTKeyIndex; bool bInUse; - //2006-1116-01,<Modify> by NomadZhao bool bSoftWEP; - unsigned short wKeyCtl; // for address of wKeyCtl at align 4 + unsigned short wKeyCtl; unsigned char byReserved1[6]; -} SKeyTable, *PSKeyTable; //348 +} SKeyTable, *PSKeyTable; typedef struct tagSKeyManagement { SKeyTable KeyTable[MAX_KEY_TABLE]; } SKeyManagement, *PSKeyManagement; -/*--------------------- Export Types ------------------------------*/ - -/*--------------------- Export Macros ------------------------------*/ - -/*--------------------- Export Classes ----------------------------*/ - -/*--------------------- Export Variables --------------------------*/ - -/*--------------------- Export Functions --------------------------*/ - void KeyvInitTable(PSKeyManagement pTable, unsigned long dwIoBase); bool KeybGetKey( -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel