Commit 6e5ca0da authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

staging: rtl8188eu: Remove function thread_enter()

Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42c6cdb3
...@@ -285,8 +285,7 @@ int rtw_cmd_thread(void *context) ...@@ -285,8 +285,7 @@ int rtw_cmd_thread(void *context)
struct adapter *padapter = (struct adapter *)context; struct adapter *padapter = (struct adapter *)context;
struct cmd_priv *pcmdpriv = &(padapter->cmdpriv); struct cmd_priv *pcmdpriv = &(padapter->cmdpriv);
allow_signal(SIGTERM);
thread_enter("RTW_CMD_THREAD");
pcmdbuf = pcmdpriv->cmd_buf; pcmdbuf = pcmdpriv->cmd_buf;
......
...@@ -597,7 +597,7 @@ static int mp_xmit_packet_thread(void *context) ...@@ -597,7 +597,7 @@ static int mp_xmit_packet_thread(void *context)
padapter = pmp_priv->papdater; padapter = pmp_priv->papdater;
pxmitpriv = &(padapter->xmitpriv); pxmitpriv = &(padapter->xmitpriv);
thread_enter("RTW_MP_THREAD"); allow_signal(SIGTERM);
/* DBG_88E("%s:pkTx Start\n", __func__); */ /* DBG_88E("%s:pkTx Start\n", __func__); */
while (1) { while (1) {
......
...@@ -164,11 +164,6 @@ u32 rtw_systime_to_ms(u32 systime); ...@@ -164,11 +164,6 @@ u32 rtw_systime_to_ms(u32 systime);
u32 rtw_ms_to_systime(u32 ms); u32 rtw_ms_to_systime(u32 ms);
s32 rtw_get_passing_time_ms(u32 start); 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) static inline void flush_signals_thread(void)
{ {
if (signal_pending(current)) if (signal_pending(current))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment