staging: rtl8188eu: Remove dummy rtl8188e_start_thread() and its wrapper
authornavin patidar <navin.patidar@gmail.com>
Sun, 22 Jun 2014 08:19:24 +0000 (13:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:27:11 +0000 (20:27 -0400)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/hal_intf.c
drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c
drivers/staging/rtl8188eu/include/hal_intf.h
drivers/staging/rtl8188eu/os_dep/os_intfs.c

index bcd9c4d101754addac905dffd140eef565e13957..4506fd8445874c2e22e05f3d4559e43e985c6d6c 100644 (file)
@@ -262,13 +262,6 @@ void rtw_hal_add_ra_tid(struct adapter *adapt, u32 bitmap, u8 arg,
                                               rssi_level);
 }
 
-/*     Start specifical interface thread               */
-void rtw_hal_start_thread(struct adapter *adapt)
-{
-       if (adapt->HalFunc.run_thread)
-               adapt->HalFunc.run_thread(adapt);
-}
-
 /*     Start specifical interface thread               */
 void rtw_hal_stop_thread(struct adapter *adapt)
 {
index 9ce036e5d231222b39fd33d53d18b8f8dd068b81..f08696a38ab146a4f447911ba452cd63b63ff4d6 100644 (file)
@@ -573,10 +573,6 @@ static void rtl8188e_SetHalODMVar(struct adapter *Adapter, enum hal_odm_variable
        }
 }
 
-void rtl8188e_start_thread(struct adapter *padapter)
-{
-}
-
 void rtl8188e_stop_thread(struct adapter *padapter)
 {
 }
@@ -605,7 +601,6 @@ void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
        pHalFunc->hal_dm_watchdog = &rtl8188e_HalDmWatchDog;
 
        pHalFunc->Add_RateATid = &rtl8188e_Add_RateATid;
-       pHalFunc->run_thread = &rtl8188e_start_thread;
        pHalFunc->cancel_thread = &rtl8188e_stop_thread;
 
        pHalFunc->AntDivBeforeLinkHandler = &AntDivBeforeLink8188E;
index 482d0f3f45a2f58259592dbcac16f462711db585..d80dd72e3192b6547b2fe9b44d299b9a976fa1a8 100644 (file)
@@ -207,7 +207,6 @@ struct hal_ops {
 
        void    (*Add_RateATid)(struct adapter *adapter, u32 bitmap, u8 arg,
                                u8 rssi_level);
-       void    (*run_thread)(struct adapter *adapter);
        void    (*cancel_thread)(struct adapter *adapter);
 
        u8      (*AntDivBeforeLinkHandler)(struct adapter *adapter);
@@ -313,7 +312,6 @@ void rtw_hal_update_ra_mask(struct adapter *padapter, u32 mac_id, u8 level);
 void   rtw_hal_add_ra_tid(struct adapter *adapt, u32 bitmap, u8 arg, u8 level);
 void   rtw_hal_clone_data(struct adapter *dst_adapt,
                           struct adapter *src_adapt);
-void   rtw_hal_start_thread(struct adapter *padapter);
 void   rtw_hal_stop_thread(struct adapter *padapter);
 
 void rtw_hal_bcn_related_reg_setting(struct adapter *padapter);
index e19ec25b09dcb209e434b3ccbcb57c704934fec5..287126a7b187f4550dba197266ff1115669c7c03 100644 (file)
@@ -749,7 +749,6 @@ u32 rtw_start_drv_threads(struct adapter *padapter)
        else
                _rtw_down_sema(&padapter->cmdpriv.terminate_cmdthread_sema); /* wait for cmd_thread to run */
 
-       rtw_hal_start_thread(padapter);
        return _status;
 }