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_; ...@@ -420,7 +420,7 @@ _func_enter_;
_func_exit_; _func_exit_;
thread_exit(); complete_and_exit(NULL, 0);
} }
u8 rtw_setstandby_cmd(struct adapter *padapter, uint action) u8 rtw_setstandby_cmd(struct adapter *padapter, uint action)
......
...@@ -643,7 +643,7 @@ static int mp_xmit_packet_thread(void *context) ...@@ -643,7 +643,7 @@ static int mp_xmit_packet_thread(void *context)
pmptx->pallocated_buf = NULL; pmptx->pallocated_buf = NULL;
pmptx->stop = 1; pmptx->stop = 1;
thread_exit(); complete_and_exit(NULL, 0);
} }
void fill_txdesc_for_mp(struct adapter *padapter, struct tx_desc *ptxdesc) void fill_txdesc_for_mp(struct adapter *padapter, struct tx_desc *ptxdesc)
......
...@@ -62,8 +62,6 @@ struct __queue { ...@@ -62,8 +62,6 @@ struct __queue {
spinlock_t lock; spinlock_t lock;
}; };
#define thread_exit() complete_and_exit(NULL, 0)
static inline struct list_head *get_next(struct list_head *list) static inline struct list_head *get_next(struct list_head *list)
{ {
return list->next; 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