staging: r8188eu: Remove pointless thread_exit macro
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 20 Dec 2013 04:38:33 +0000 (22:38 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 16:57:45 +0000 (08:57 -0800)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_cmd.c
drivers/staging/rtl8188eu/core/rtw_mp.c
drivers/staging/rtl8188eu/include/osdep_service.h

index f45f4eddb741615774dde3af53e9248bf7a82a03..3e2d98022f6481e2b5a9677778d014e9d3544295 100644 (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)
index 9832dcbbd07fa621467dfc1c216411e627db7e66..02046398bff4cd71a3c6a2aee8a0a3ccabcb09e8 100644 (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)
index 46b34fcca126cf1c0ff3e2156bce427890e0120e..ba790f029898f16982b903b428f7ae2904fec4f9 100644 (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;