staging: rtl8188eu: Remove function thread_enter()
authornavin patidar <navin.patidar@gmail.com>
Sun, 22 Jun 2014 08:51:44 +0000 (14:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:27:15 +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/core/rtw_cmd.c
drivers/staging/rtl8188eu/core/rtw_mp.c
drivers/staging/rtl8188eu/include/osdep_service.h

index 343a6ca..e65d8ef 100644 (file)
@@ -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;
 
index ca323db..919c4c2 100644 (file)
@@ -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) {
index 6c3234b..e7bbc28 100644 (file)
@@ -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))