Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Malcolm Priestley and committed by
Greg Kroah-Hartman
7e4786d1 19327367

-3
-2
drivers/staging/vt6655/device.h
··· 286 286 unsigned char abyCurrentNetAddr[ETH_ALEN]; __aligned(2) 287 287 bool bLinkPass; /* link status: OK or fail */ 288 288 289 - /* Adapter statistics */ 290 - SStatCounter scStatistic; 291 289 /* 802.11 counter */ 292 290 SDot11Counters s802_11Counter; 293 291
-1
drivers/staging/vt6655/device_main.c
··· 1100 1100 * update ISR counter 1101 1101 */ 1102 1102 while (pDevice->dwIsr && pDevice->vif) { 1103 - STAvUpdateIsrStatCounter(&pDevice->scStatistic, pDevice->dwIsr); 1104 1103 MACvWriteISR(pDevice->PortOffset, pDevice->dwIsr); 1105 1104 1106 1105 if (pDevice->dwIsr & ISR_FETALERR) {