staging: rtl8723au: Remove no-op function dm_CheckStatistics()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 21 Jul 2014 09:24:47 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:09:26 +0000 (12:09 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_dm.c

index 4a3d2e16599cd272febbb0a9c891bc031e32489b..3fb54fc10acf7577ea73fbc493e53faec6671ef9 100644 (file)
 /*  Global var */
 /*  */
 
-static void dm_CheckStatistics(struct rtw_adapter *Adapter)
-{
-}
-
 static void dm_CheckPbcGPIO(struct rtw_adapter *padapter)
 {
        u8      tmp1byte;
@@ -225,9 +221,6 @@ rtl8723a_HalDmWatchDog(
        bFwPSAwake = rtl8723a_get_fwlps_rf_on(Adapter);
 
        if (!bFwCurrentInPSMode && bFwPSAwake) {
-               /*  Calculate Tx/Rx statistics. */
-               dm_CheckStatistics(Adapter);
-
                /*  Read REG_INIDATA_RATE_SEL value for TXDESC. */
                if (check_fwstate(&Adapter->mlmepriv, WIFI_STATION_STATE)) {
                        pdmpriv->INIDATA_RATE[0] = rtl8723au_read8(Adapter, REG_INIDATA_RATE_SEL) & 0x3f;