Update osdep_service_linux.h

This commit is contained in:
Christian B 2017-12-17 12:02:26 +01:00 committed by GitHub
parent 87aec9ad1c
commit ee85b4850e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,14 +269,13 @@ __inline static void rtw_list_delete(_list *plist)
}
#define RTW_TIMER_HDL_ARGS void *FunctionContext
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
__inline static void _init_timer(_timer *ptimer, _nic_hdl nic_hdl, void *pfunc, void *cntx)
{
/* setup_timer(ptimer, pfunc,(u32)cntx); */
ptimer->function = pfunc;
ptimer->data = (unsigned long)cntx;
init_timer(ptimer);
}
#endif
__inline static void _set_timer(_timer *ptimer, u32 delay_time)
{