Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: r8188eu: Remove wrapper routine _set_workitem()

This is simply a wrapper around schedule_work().

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Larry Finger and committed by
Greg Kroah-Hartman
f87028f4 1781709b

+1 -6
+1 -1
drivers/staging/rtl8188eu/core/rtw_led.c
··· 34 34 if ((padapter->bSurpriseRemoved) || (padapter->bDriverStopped)) 35 35 return; 36 36 37 - _set_workitem(&(pLed->BlinkWorkItem)); 37 + schedule_work(&(pLed->BlinkWorkItem)); 38 38 } 39 39 40 40 /* */
-5
drivers/staging/rtl8188eu/include/osdep_service.h
··· 106 106 #define RTW_DECLARE_TIMER_HDL(name) \ 107 107 void RTW_TIMER_HDL_NAME(name)(RTW_TIMER_HDL_ARGS) 108 108 109 - static inline void _set_workitem(struct work_struct *pwork) 110 - { 111 - schedule_work(pwork); 112 - } 113 - 114 109 static inline void _cancel_workitem_sync(struct work_struct *pwork) 115 110 { 116 111 cancel_work_sync(pwork);