summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6656/mib.c
diff options
context:
space:
mode:
authorAndres More2010-07-12 19:24:48 +0200
committerGreg Kroah-Hartman2010-07-22 20:42:28 +0200
commit8efe1ab3a969cdaff4b9aefb9f67efda4e6e979d (patch)
tree39fdf73a8c1e0f7d0ed8c38e7c2d7e512916f30d /drivers/staging/vt6656/mib.c
parentstaging: vt6656: removed WPA_SM_Transtatus definition (diff)
downloadkernel-qcow2-linux-8efe1ab3a969cdaff4b9aefb9f67efda4e6e979d.tar.gz
kernel-qcow2-linux-8efe1ab3a969cdaff4b9aefb9f67efda4e6e979d.tar.xz
kernel-qcow2-linux-8efe1ab3a969cdaff4b9aefb9f67efda4e6e979d.zip
staging: vt6656: removed Calcu_LinkQual definition
Removed an always defined macro, perhaps used to patch the driver Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/mib.c')
-rw-r--r--drivers/staging/vt6656/mib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/mib.c b/drivers/staging/vt6656/mib.c
index b694fc86d740..f5a0647886ba 100644
--- a/drivers/staging/vt6656/mib.c
+++ b/drivers/staging/vt6656/mib.c
@@ -467,12 +467,10 @@ STAvUpdateTDStatCounter (
}
if ( !(byTSR & (TSR_TMO | TSR_RETRYTMO))) {
-#ifdef Calcu_LinkQual
if (byRetyCnt < 2)
pStatistic->TxNoRetryOkCount ++;
else
pStatistic->TxRetryOkCount ++;
-#endif
pStatistic->ullTsrOK++;
pStatistic->CustomStat.ullTsrAllOK++;
@@ -493,9 +491,7 @@ STAvUpdateTDStatCounter (
}
else {
-#ifdef Calcu_LinkQual
pStatistic->TxFailCount ++;
-#endif
pStatistic->dwTsrErr++;
if (byTSR & TSR_RETRYTMO)