staging:rtl8188eu: Remove function rtw_hal_sreset_linked_status_check()
authornavin patidar <navin.patidar@gmail.com>
Thu, 29 May 2014 17:50:49 +0000 (23:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:28:49 +0000 (15:28 -0700)
rtw_hal_sreset_linked_status_check() is a wrapper to call
rtl8188e_sreset_linked_status_check(), which doesn't do anything
useful.

rtl8188e_sreset_linked_status_check() will also be removed later.

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_mlme_ext.c
drivers/staging/rtl8188eu/hal/hal_intf.c
drivers/staging/rtl8188eu/include/hal_intf.h

index f5b49f3..b2a1251 100644 (file)
@@ -7549,8 +7549,6 @@ void linked_status_chk(struct adapter *padapter)
        if (padapter->bRxRSSIDisplay)
                _linked_rx_signal_strehgth_display(padapter);
 
-       rtw_hal_sreset_linked_status_check(padapter);
-
        if (is_client_associated_to_ap(padapter)) {
                /* linked infrastructure client mode */
 
index cf03d9c..7499ceb 100644 (file)
@@ -380,12 +380,6 @@ void rtw_hal_sreset_reset(struct adapter *adapt)
                adapt->HalFunc.silentreset(adapt);
 }
 
-void rtw_hal_sreset_linked_status_check(struct adapter *adapt)
-{
-       if (adapt->HalFunc.sreset_linked_status_check)
-               adapt->HalFunc.sreset_linked_status_check(adapt);
-}
-
 u8   rtw_hal_sreset_get_wifi_status(struct adapter *adapt)
 {
        u8 status = 0;
index 85fd521..5d67e90 100644 (file)
@@ -367,7 +367,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_linked_status_check(struct adapter *padapter);
 u8   rtw_hal_sreset_get_wifi_status(struct adapter *padapter);
 
 int rtw_hal_iol_cmd(struct adapter  *adapter, struct xmit_frame *xmit_frame,