mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04:00
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:
committed by
Greg Kroah-Hartman
parent
6e5ca0daa2
commit
7062775b2c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user