]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: r8188eu: Remove wrapper routine _set_workitem()
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 14 Feb 2014 22:54:16 +0000 (16:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Feb 2014 20:40:19 +0000 (12:40 -0800)
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>
drivers/staging/rtl8188eu/core/rtw_led.c
drivers/staging/rtl8188eu/include/osdep_service.h

index b9c9fc09b7f0b133156d3307892df28a18950d88..42b41ab1bce1de6e7afe1b592d77f831d8d48c56 100644 (file)
@@ -34,7 +34,7 @@ void BlinkTimerCallback(void *data)
        if ((padapter->bSurpriseRemoved) || (padapter->bDriverStopped))
                return;
 
-       _set_workitem(&(pLed->BlinkWorkItem));
+       schedule_work(&(pLed->BlinkWorkItem));
 }
 
 /*  */
index 8f8596dee032bdf84093597b46ec0a99c5fc9f88..5889f58ed7d3919b883d1f5f5494b82b6493b927 100644 (file)
@@ -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);