staging: rtl8188eu: Remove function flush_signals_thread()
authornavin patidar <navin.patidar@gmail.com>
Sun, 22 Jun 2014 08:51:45 +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 e65d8ef144535a5b95a4c31b8ead4db1113718b3..556d17d2979725b43db76ea820270e3b45e4efe0 100644 (file)
@@ -359,7 +359,8 @@ post_process:
                        rtw_free_cmd_obj(pcmd);
                }
 
-               flush_signals_thread();
+               if (signal_pending(current))
+                       flush_signals(current);
 
                goto _next;
        }
index 919c4c212172719f4380066bce00d1f205805b42..d879948e0a60e0983e548e2831c0840c3490f9d9 100644 (file)
@@ -629,7 +629,8 @@ static int mp_xmit_packet_thread(void *context)
                    (pmptx->count == pmptx->sended))
                        goto exit;
 
-               flush_signals_thread();
+               if (signal_pending(current))
+                       flush_signals(current);
        }
 
 exit:
index e7bbc28ba00af56650874c670f8160c667f55f57..2d07deade14a43eed91cb4667eed7728d8da3db0 100644 (file)
@@ -164,12 +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 flush_signals_thread(void)
-{
-       if (signal_pending(current))
-               flush_signals(current);
-}
-
 struct rtw_netdev_priv_indicator {
        void *priv;
        u32 sizeof_priv;
This page took 0.026761 seconds and 5 git commands to generate.