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:
Larry Finger 2013-12-19 22:38:33 -06:00 committed by Greg Kroah-Hartman
parent 0c5b5632d2
commit dfa5e81e59
3 changed files with 2 additions and 4 deletions

View File

@ -420,7 +420,7 @@ post_process:
_func_exit_;
thread_exit();
complete_and_exit(NULL, 0);
}
u8 rtw_setstandby_cmd(struct adapter *padapter, uint action)

View File

@ -643,7 +643,7 @@ exit:
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)

View File

@ -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;