mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
staging: rtl8188eu: Remove function thread_enter()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
42c6cdb304
commit
6e5ca0daa2
@@ -285,8 +285,7 @@ int rtw_cmd_thread(void *context)
|
||||
struct adapter *padapter = (struct adapter *)context;
|
||||
struct cmd_priv *pcmdpriv = &(padapter->cmdpriv);
|
||||
|
||||
|
||||
thread_enter("RTW_CMD_THREAD");
|
||||
allow_signal(SIGTERM);
|
||||
|
||||
pcmdbuf = pcmdpriv->cmd_buf;
|
||||
|
||||
|
||||
@@ -597,7 +597,7 @@ static int mp_xmit_packet_thread(void *context)
|
||||
padapter = pmp_priv->papdater;
|
||||
pxmitpriv = &(padapter->xmitpriv);
|
||||
|
||||
thread_enter("RTW_MP_THREAD");
|
||||
allow_signal(SIGTERM);
|
||||
|
||||
/* DBG_88E("%s:pkTx Start\n", __func__); */
|
||||
while (1) {
|
||||
|
||||
@@ -164,11 +164,6 @@ u32 rtw_systime_to_ms(u32 systime);
|
||||
u32 rtw_ms_to_systime(u32 ms);
|
||||
s32 rtw_get_passing_time_ms(u32 start);
|
||||
|
||||
static inline void thread_enter(char *name)
|
||||
{
|
||||
allow_signal(SIGTERM);
|
||||
}
|
||||
|
||||
static inline void flush_signals_thread(void)
|
||||
{
|
||||
if (signal_pending(current))
|
||||
|
||||
Reference in New Issue
Block a user