forked from luck/tmp_suning_uos_patched
staging: r8188eu: Remove pointless thread_exit macro
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0c5b5632d2
commit
dfa5e81e59
@ -420,7 +420,7 @@ _func_enter_;
|
||||
|
||||
_func_exit_;
|
||||
|
||||
thread_exit();
|
||||
complete_and_exit(NULL, 0);
|
||||
}
|
||||
|
||||
u8 rtw_setstandby_cmd(struct adapter *padapter, uint action)
|
||||
|
@ -643,7 +643,7 @@ static int mp_xmit_packet_thread(void *context)
|
||||
pmptx->pallocated_buf = NULL;
|
||||
pmptx->stop = 1;
|
||||
|
||||
thread_exit();
|
||||
complete_and_exit(NULL, 0);
|
||||
}
|
||||
|
||||
void fill_txdesc_for_mp(struct adapter *padapter, struct tx_desc *ptxdesc)
|
||||
|
@ -62,8 +62,6 @@ struct __queue {
|
||||
spinlock_t lock;
|
||||
};
|
||||
|
||||
#define thread_exit() complete_and_exit(NULL, 0)
|
||||
|
||||
static inline struct list_head *get_next(struct list_head *list)
|
||||
{
|
||||
return list->next;
|
||||
|
Loading…
Reference in New Issue
Block a user