Commit 7062775b authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

staging: rtl8188eu: Remove function flush_signals_thread()

Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6e5ca0da
......@@ -359,7 +359,8 @@ int rtw_cmd_thread(void *context)
rtw_free_cmd_obj(pcmd);
}
flush_signals_thread();
if (signal_pending(current))
flush_signals(current);
goto _next;
}
......
......@@ -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:
......
......@@ -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;
......
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