staging: rtl8188eu: Remove function rtw_hal_sreset_xmit_status_check()
authornavin patidar <navin.patidar@gmail.com>
Thu, 29 May 2014 17:50:47 +0000 (23:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:28:49 +0000 (15:28 -0700)
rtw_hal_sreset_xmit_status_check() is a wrapper to call
rtl8188e_sreset_xmit_status_check(), which calls
rtl8188e_silentreset_for_specific_platform() in case of transmission has
stopped to do a silent reset and restore the transmission but
rtl8188e_silentreset_for_specific_platform() has empty defination,
so we can remove rtw_hal_sreset_xmit_status_check() because it doesn't
serve its purpose.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c
drivers/staging/rtl8188eu/hal/hal_intf.c
drivers/staging/rtl8188eu/include/hal_intf.h

index 1e0b8b49fc1270c0073a440f1b282a4e89ff1b2f..25f1c36e59b09061380334d2f8b50d329231e41b 100644 (file)
@@ -1542,8 +1542,6 @@ static void dynamic_chk_wk_hdl(struct adapter *padapter, u8 *pbuf, int sz)
                expire_timeout_chk(padapter);
 #endif
 
-       rtw_hal_sreset_xmit_status_check(padapter);
-
        linked_status_chk(padapter);
        traffic_status_watchdog(padapter);
 
index 699775b5f1f12cd0320212828fa4698f857bc3ed..cf03d9ce6333084edefc90fa6ea7529ceca42070 100644 (file)
@@ -380,12 +380,6 @@ void rtw_hal_sreset_reset(struct adapter *adapt)
                adapt->HalFunc.silentreset(adapt);
 }
 
-void rtw_hal_sreset_xmit_status_check(struct adapter *adapt)
-{
-       if (adapt->HalFunc.sreset_xmit_status_check)
-               adapt->HalFunc.sreset_xmit_status_check(adapt);
-}
-
 void rtw_hal_sreset_linked_status_check(struct adapter *adapt)
 {
        if (adapt->HalFunc.sreset_linked_status_check)
index 734e9357234c2610244ca898f10dc93e4299b21c..eb7df0e49d4c922c68cfc78d0797ec1629ff16e2 100644 (file)
@@ -368,7 +368,6 @@ void        rtw_hal_antdiv_rssi_compared(struct adapter *padapter,
 
 void rtw_hal_sreset_init(struct adapter *padapter);
 void rtw_hal_sreset_reset(struct adapter *padapter);
-void rtw_hal_sreset_xmit_status_check(struct adapter *padapter);
 void rtw_hal_sreset_linked_status_check(struct adapter *padapter);
 u8   rtw_hal_sreset_get_wifi_status(struct adapter *padapter);