]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/vt6655/mib.c
Merge tag 'ktest-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[~andy/linux] / drivers / staging / vt6655 / mib.c
index f63440e8f2716e2e538fee2edddedd2e524609b2..6a59652052b652f1d558f88fad1f152967e7922e 100644 (file)
@@ -56,8 +56,6 @@ static int msglevel = MSG_LEVEL_INFO;
 
 /*---------------------  Export Functions  --------------------------*/
 
-
-
 /*
  * Description: Clear All Statistic Counter
  *
@@ -76,7 +74,6 @@ void STAvClearAllCounter(PSStatCounter pStatistic)
        memset(pStatistic, 0, sizeof(SStatCounter));
 }
 
-
 /*
  * Description: Update Isr Statistic Counter
  *
@@ -141,10 +138,8 @@ void STAvUpdateIsrStatCounter(PSStatCounter pStatistic, unsigned long dwIsr)
 
        if (dwIsr & ISR_SOFTTIMER1)           // ISR, bit21
                pStatistic->ISRStat.dwIsrSTIMER1Int++;
-
 }
 
-
 /*
  * Description: Update Rx Statistic Counter
  *
@@ -293,7 +288,6 @@ void STAvUpdateRDStatCounter(PSStatCounter pStatistic,
        pStatistic->dwRsrRxPacket++;
        pStatistic->dwRsrRxOctet += cbFrameLength;
 
-
        if (IS_TYPE_DATA(pbyBuffer)) {
                pStatistic->dwRsrRxData++;
        } else if (IS_TYPE_MGMT(pbyBuffer)) {
@@ -329,11 +323,8 @@ void STAvUpdateRDStatCounter(PSStatCounter pStatistic,
        } else if (cbFrameLength > ETH_FRAME_LEN + 4) {
                pStatistic->dwRsrLong++;
        }
-
 }
 
-
-
 /*
  * Description: Update Rx Statistic Counter and copy Rx buffer
  *
@@ -376,7 +367,6 @@ STAvUpdateRDStatCounterEx(
        memcpy(pStatistic->abyCntRxPattern, (unsigned char *)pbyBuffer, 10);
 }
 
-
 /*
  * Description: Update Tx Statistic Counter
  *
@@ -408,8 +398,6 @@ STAvUpdateTDStatCounter(
        unsigned char *pbyDestAddr;
        unsigned char byTSR0_NCR = byTSR0 & TSR0_NCR;
 
-
-
        pHeader = (PWLAN_80211HDR_A4) pbyBuffer;
        if (WLAN_GET_FC_TODS(pHeader->wFrameCtl) == 0) {
                pbyDestAddr = &(pHeader->abyAddr1[0]);
@@ -462,10 +450,8 @@ STAvUpdateTDStatCounter(
                pStatistic->dwTsrMulticast[uIdx]++;
        else
                pStatistic->dwTsrDirected[uIdx]++;
-
 }
 
-
 /*
  * Description: Update Tx Statistic Counter and copy Tx buffer
  *
@@ -497,7 +483,6 @@ STAvUpdateTDStatCounterEx(
        memcpy(pStatistic->abyCntTxPattern, pbyBuffer, 16);
 }
 
-
 /*
  * Description: Update 802.11 mib counter
  *