Commit dfa5e81e authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman

staging: r8188eu: Remove pointless thread_exit macro

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0c5b5632
......@@ -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;
......
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