rtl8188eu: Remove CONFIG_EVENT_THREAD_MODE - not defined

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-22 15:10:30 -05:00
parent e92c85ed95
commit 90670e559c

View file

@ -851,12 +851,6 @@ u32 rtw_start_drv_threads(_adapter *padapter)
else
_rtw_down_sema(&padapter->cmdpriv.terminate_cmdthread_sema); //wait for cmd_thread to run
#ifdef CONFIG_EVENT_THREAD_MODE
padapter->evtThread = kthread_run(event_thread, padapter, "RTW_EVENT_THREAD");
if (IS_ERR(padapter->evtThread))
_status = _FAIL;
#endif
rtw_hal_start_thread(padapter);
return _status;
}
@ -870,13 +864,6 @@ void rtw_stop_drv_threads (_adapter *padapter)
if (padapter->cmdThread)
_rtw_down_sema(&padapter->cmdpriv.terminate_cmdthread_sema);
#ifdef CONFIG_EVENT_THREAD_MODE
_rtw_up_sema(&padapter->evtpriv.evt_notify);
if (padapter->evtThread){
_rtw_down_sema(&padapter->evtpriv.terminate_evtthread_sema);
}
#endif
rtw_hal_stop_thread(padapter);
}