From: navin patidar Date: Mon, 26 May 2014 16:05:22 +0000 (+0530) Subject: staging: rtl8188eu: Remove function with empty defination dm_CheckStatistics() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c1fb098ff8ad3638004f9bd4b70346ebb1c2c3f;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8188eu: Remove function with empty defination dm_CheckStatistics() Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c index cf88bf247c85..4e9f79769c11 100644 --- a/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_dm.c @@ -31,10 +31,6 @@ #include -static void dm_CheckStatistics(struct adapter *Adapter) -{ -} - /* Initialize GPIO setting registers */ static void dm_InitGPIOSetting(struct adapter *Adapter) { @@ -173,12 +169,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;