summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2015-05-31 10:35:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-01 06:24:57 +0900
commit7e4786d1ab5835e7a132dfe1d0589ffe1a575bc9 (patch)
tree0177d59b29599b0e058621f8e3b84bc468cf8435 /drivers/staging/vt6655
parent19327367de63e9b6f9f5a68246ab84bd7b31ebdb (diff)
downloadlinux-stable-7e4786d1ab5835e7a132dfe1d0589ffe1a575bc9.tar.gz
linux-stable-7e4786d1ab5835e7a132dfe1d0589ffe1a575bc9.tar.bz2
linux-stable-7e4786d1ab5835e7a132dfe1d0589ffe1a575bc9.zip
staging: vt6655: Remove call to STAvUpdateIsrStatCounter.
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>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/device.h2
-rw-r--r--drivers/staging/vt6655/device_main.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
index a49c6c624c5e..62e07f525913 100644
--- a/drivers/staging/vt6655/device.h
+++ b/drivers/staging/vt6655/device.h
@@ -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;
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
index c27f5ef7f0a2..31f4ec7b8f47 100644
--- a/drivers/staging/vt6655/device_main.c
+++ b/drivers/staging/vt6655/device_main.c
@@ -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) {