Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

staging: r8188eu: Remove pointless thread_exit macro

parent 0c5b5632
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -420,7 +420,7 @@ _func_enter_;

_func_exit_;

	thread_exit();
	complete_and_exit(NULL, 0);
}

u8 rtw_setstandby_cmd(struct adapter *padapter, uint action)
+1 −1
Original line number Diff line number Diff line
@@ -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)
+0 −2
Original line number Diff line number Diff line
@@ -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;