diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-11-25 17:25:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-25 17:47:18 +0100 |
commit | 05b57e8c91ca5cf2af112c1a30ca97446f084232 (patch) | |
tree | c35340f169497651d5aec2c49c0c61bc93b48e30 /drivers/staging/r8188eu/include/osdep_service.h | |
parent | 1875be81b5a86e1d83bbb624e3613eb2644cb9e3 (diff) | |
download | linux-05b57e8c91ca5cf2af112c1a30ca97446f084232.tar.bz2 |
staging: r8188eu: remove the _init_workitem wrapper
Remove the _init_workitem wrapper and call INIT_WORK directly.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211125162513.25039-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/osdep_service.h')
-rw-r--r-- | drivers/staging/r8188eu/include/osdep_service.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/r8188eu/include/osdep_service.h b/drivers/staging/r8188eu/include/osdep_service.h index 766440461a0c..21e5cacbd893 100644 --- a/drivers/staging/r8188eu/include/osdep_service.h +++ b/drivers/staging/r8188eu/include/osdep_service.h @@ -74,11 +74,6 @@ static inline void _cancel_timer(struct timer_list *ptimer,u8 *bcancelled) #define RTW_TIMER_HDL_NAME(name) rtw_##name##_timer_hdl #define RTW_DECLARE_TIMER_HDL(name) void RTW_TIMER_HDL_NAME(name)(RTW_TIMER_HDL_ARGS) -static inline void _init_workitem(struct work_struct *pwork, void *pfunc, void * cntx) -{ - INIT_WORK(pwork, pfunc); -} - static inline void _cancel_workitem_sync(struct work_struct *pwork) { cancel_work_sync(pwork); |