Staging: vt6655: removed redundant comments from mib.h
authorIgor Bezukh <igbzkh@gmail.com>
Fri, 25 Jul 2014 16:48:48 +0000 (19:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:38:42 +0000 (11:38 -0700)
Removed redundant comments from mib.h header file.

Signed-off-by: Igor Bezukh <igbzkh@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/mib.h

index c0a5948..732bdda 100644 (file)
 #include "tether.h"
 #include "desc.h"
 
-/*---------------------  Export Definitions -------------------------*/
 //
 // 802.11 counter
 //
 
 typedef struct tagSDot11Counters {
-       unsigned long Length;             // Length of structure
+       unsigned long Length;
        unsigned long long   TransmittedFragmentCount;
        unsigned long long   MulticastTransmittedFrameCount;
        unsigned long long   FailedCount;
@@ -68,8 +67,7 @@ typedef struct tagSDot11Counters {
 //
 typedef struct tagSMib2Counter {
        long    ifIndex;
-       char    ifDescr[256];               // max size 255 plus zero ending
-       // e.g. "interface 1"
+       char    ifDescr[256];
        long    ifType;
        long    ifMtu;
        unsigned long ifSpeed;
@@ -93,12 +91,12 @@ typedef struct tagSMib2Counter {
 } SMib2Counter, *PSMib2Counter;
 
 // Value in the ifType entry
-#define WIRELESSLANIEEE80211b      6           //
+#define WIRELESSLANIEEE80211b      6
 
 // Value in the ifAdminStatus/ifOperStatus entry
-#define UP                  1           //
-#define DOWN                2           //
-#define TESTING             3           //
+#define UP                  1
+#define DOWN                2
+#define TESTING             3
 
 //
 // RMON counter
@@ -182,7 +180,7 @@ typedef struct tagSISRCounters {
        unsigned long dwIsrMIBNearfull;
        unsigned long dwIsrRxNoBuf;
 
-       unsigned long dwIsrUnknown;               // unknown interrupt count
+       unsigned long dwIsrUnknown;
 
        unsigned long dwIsrRx1OK;
        unsigned long dwIsrATIMTxOK;
@@ -191,23 +189,18 @@ typedef struct tagSISRCounters {
        unsigned long dwIsrATIMEnd;
        unsigned long dwIsrSYNCFlushOK;
        unsigned long dwIsrSTIMER1Int;
-       /////////////////////////////////////
 } SISRCounters, *PSISRCounters;
 
 // Value in the etherStatsStatus entry
-#define VALID               1           //
-#define CREATE_REQUEST      2           //
-#define UNDER_CREATION      3           //
-#define INVALID             4           //
+#define VALID               1
+#define CREATE_REQUEST      2
+#define UNDER_CREATION      3
+#define INVALID             4
 
 //
 // statistic counter
 //
 typedef struct tagSStatCounter {
-       //
-       // ISR status count
-       //
-
        // RSR status count
        //
        unsigned long dwRsrFrmAlgnErr;
@@ -306,24 +299,18 @@ typedef struct tagSStatCounter {
 
 #ifdef Calcu_LinkQual
        //Tx count:
-       unsigned long TxNoRetryOkCount;         //success tx no retry !
-       unsigned long TxRetryOkCount;              //success tx but retry !
-       unsigned long TxFailCount;                      //fail tx ?
+       unsigned long TxNoRetryOkCount;
+       unsigned long TxRetryOkCount;
+       unsigned long TxFailCount;
        //Rx count:
-       unsigned long RxOkCnt;                          //success rx !
-       unsigned long RxFcsErrCnt;                    //fail rx ?
+       unsigned long RxOkCnt;
+       unsigned long RxFcsErrCnt;
        //statistic
        unsigned long SignalStren;
        unsigned long LinkQuality;
 #endif
 } SStatCounter, *PSStatCounter;
 
-/*---------------------  Export Classes  ----------------------------*/
-
-/*---------------------  Export Variables  --------------------------*/
-
-/*---------------------  Export Functions  --------------------------*/
-
 void STAvClearAllCounter(PSStatCounter pStatistic);
 
 void STAvUpdateIsrStatCounter(PSStatCounter pStatistic, unsigned long dwIsr);