staging: rtl8188eu: Remove function flush_signals_thread()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6e5ca0daa2
commit
7062775b2c
3 changed files with 4 additions and 8 deletions
|
@ -359,7 +359,8 @@ post_process:
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue