staging: vt6655: Remove call to STAvUpdateIsrStatCounter.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 31 May 2015 09:35:22 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:24:57 +0000 (06:24 +0900)
This function does not provide any data to users.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device.h
drivers/staging/vt6655/device_main.c

index a49c6c624c5ea5be54d634b5b8fde1516dd78a6e..62e07f5259138906b76b087a038d397e2b8f2a79 100644 (file)
@@ -286,8 +286,6 @@ struct vnt_private {
        unsigned char abyCurrentNetAddr[ETH_ALEN]; __aligned(2)
        bool bLinkPass;          /* link status: OK or fail */
 
-       /* Adapter statistics */
-       SStatCounter                scStatistic;
        /* 802.11 counter */
        SDot11Counters              s802_11Counter;
 
index c27f5ef7f0a21b53ceb0c8d0c6261708b6571761..31f4ec7b8f47505d1671114690f33e65ea0c88c4 100644 (file)
@@ -1100,7 +1100,6 @@ static  irqreturn_t  device_intr(int irq,  void *dev_instance)
         * update ISR counter
         */
        while (pDevice->dwIsr && pDevice->vif) {
-               STAvUpdateIsrStatCounter(&pDevice->scStatistic, pDevice->dwIsr);
                MACvWriteISR(pDevice->PortOffset, pDevice->dwIsr);
 
                if (pDevice->dwIsr & ISR_FETALERR) {