rtl8188eu: Replace typedefs related to threads with standard kernel types

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-24 12:47:20 -05:00
parent 2685b52404
commit dfb5277a29
6 changed files with 9 additions and 14 deletions

View file

@ -88,13 +88,8 @@
typedef struct __queue _queue;
typedef struct list_head _list;
typedef int _OS_STATUS;
typedef struct net_device * _nic_hdl;
typedef void* _thread_hdl_;
typedef int thread_return;
typedef void* thread_context;
#define thread_exit() complete_and_exit(NULL, 0)
typedef void timer_hdl_return;
@ -439,7 +434,7 @@ __inline static void flush_signals_thread(void)
flush_signals(current);
}
__inline static _OS_STATUS res_to_status(sint res)
__inline static int res_to_status(sint res)
{
return res;
}