diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-02-14 16:54:16 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-15 12:40:19 -0800 |
commit | f87028f42fafe2ee9dc7f039b963173daae81123 (patch) | |
tree | 7752c9bb9dd5165524293261819ad6bc1a65107a /drivers | |
parent | 1781709bc3b69ed759165f2f59edf6bb6e48bfd1 (diff) | |
download | linux-f87028f42fafe2ee9dc7f039b963173daae81123.tar.gz linux-f87028f42fafe2ee9dc7f039b963173daae81123.tar.bz2 linux-f87028f42fafe2ee9dc7f039b963173daae81123.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_led.c | 2 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/osdep_service.h | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_led.c b/drivers/staging/rtl8188eu/core/rtw_led.c index b9c9fc09b7f0..42b41ab1bce1 100644 --- a/drivers/staging/rtl8188eu/core/rtw_led.c +++ b/drivers/staging/rtl8188eu/core/rtw_led.c @@ -34,7 +34,7 @@ void BlinkTimerCallback(void *data) if ((padapter->bSurpriseRemoved) || (padapter->bDriverStopped)) return; - _set_workitem(&(pLed->BlinkWorkItem)); + schedule_work(&(pLed->BlinkWorkItem)); } /* */ diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h index 8f8596dee032..5889f58ed7d3 100644 --- a/drivers/staging/rtl8188eu/include/osdep_service.h +++ b/drivers/staging/rtl8188eu/include/osdep_service.h @@ -106,11 +106,6 @@ static inline void _cancel_timer(struct timer_list *ptimer, u8 *bcancelled) #define RTW_DECLARE_TIMER_HDL(name) \ void RTW_TIMER_HDL_NAME(name)(RTW_TIMER_HDL_ARGS) -static inline void _set_workitem(struct work_struct *pwork) -{ - schedule_work(pwork); -} - static inline void _cancel_workitem_sync(struct work_struct *pwork) { cancel_work_sync(pwork); |