staging: rtl8188eu: Remove function rtw_hal_sreset_reset()
authornavin patidar <navin.patidar@gmail.com>
Thu, 29 May 2014 17:50:51 +0000 (23:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:28:49 +0000 (15:28 -0700)
rtw_hal_sreset_reset() is a wrapper to call
rtl8188e_silentreset_for_specific_platform(), which has empty defination.

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

index 155282ef78fb895504d514755f5139af0d1780f6..260243b6cb746c07f82e44541fa835b0bfa3b594 100644 (file)
@@ -804,8 +804,6 @@ void rtw_surveydone_event_callback(struct adapter   *adapter, u8 *pbuf)
        rtw_os_xmit_schedule(adapter);
 
        pmlmeext = &adapter->mlmeextpriv;
-       if (pmlmeext->sitesurvey_res.bss_cnt == 0)
-               rtw_hal_sreset_reset(adapter);
 }
 
 void rtw_dummy_event_callback(struct adapter *adapter , u8 *pbuf)
index 7499ceb3a6e571e8d200de1a7cd66946a9a607f2..1afc56690c3c78d00b13591d58bff705666c5266 100644 (file)
@@ -374,12 +374,6 @@ void rtw_hal_sreset_init(struct adapter *adapt)
                adapt->HalFunc.sreset_init_value(adapt);
 }
 
-void rtw_hal_sreset_reset(struct adapter *adapt)
-{
-       if (adapt->HalFunc.silentreset)
-               adapt->HalFunc.silentreset(adapt);
-}
-
 u8   rtw_hal_sreset_get_wifi_status(struct adapter *adapt)
 {
        u8 status = 0;
index c3f94d8ad2a58b4be311fb0e5f554bfefa0bc444..bed90354e92a83cdd77dfed175d43cd079252003 100644 (file)
@@ -365,7 +365,6 @@ void        rtw_hal_antdiv_rssi_compared(struct adapter *padapter,
                                     struct wlan_bssid_ex *src);
 
 void rtw_hal_sreset_init(struct adapter *padapter);
-void rtw_hal_sreset_reset(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,
index f04aaa375f0ec5a13c4db3a78664c48621bc84e5..97f8b3e0b418b3db5bd7de4f3ff5dc9080588457 100644 (file)
@@ -4449,10 +4449,6 @@ static int rtw_dbg_port(struct net_device *dev,
                        }
                        break;
                case 0x0f:
-                       if (extra_arg == 0) {
-                               DBG_88E("###### silent reset test.......#####\n");
-                               rtw_hal_sreset_reset(padapter);
-                       }
                        break;
                case 0x15:
                        {