staging: r8188eu: remove dm_CheckStatistics
authorMartin Kaiser <martin@kaiser.cx>
Mon, 11 Oct 2021 20:11:52 +0000 (22:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 12:27:14 +0000 (14:27 +0200)
The dm_CheckStatistics function is empty. Remove it.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211011201159.10252-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_dm.c

index f99a8526fe184e01d5ce85ae9b6fc724393e8197..af8b2752b66448a164190568daa581444bd76020 100644 (file)
@@ -8,10 +8,6 @@
 #include "../include/drv_types.h"
 #include "../include/rtl8188e_hal.h"
 
-static void dm_CheckStatistics(struct adapter *Adapter)
-{
-}
-
 /*  Initialize GPIO setting registers */
 static void dm_InitGPIOSetting(struct adapter *Adapter)
 {
@@ -136,13 +132,6 @@ void rtl8188e_HalDmWatchDog(struct adapter *Adapter)
        if (Adapter->wdinfo.p2p_ps_mode)
                fw_ps_awake = false;
 
-       if (hw_init_completed && ((!fw_cur_in_ps) && fw_ps_awake)) {
-               /*  Calculate Tx/Rx statistics. */
-               dm_CheckStatistics(Adapter);
-
-
-       }
-
        /* ODM */
        if (hw_init_completed) {
                struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;