summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8712/osdep_service.h
diff options
context:
space:
mode:
authorJames A Shackleford <shack@linux.com>2014-07-09 15:10:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-09 12:30:46 -0700
commitf2355b69ef829bfc62391e7f38bbf5e6cbb057b0 (patch)
tree242c8ffa6ebb6b7a784b16dd0b4969c29d2d3c78 /drivers/staging/rtl8712/osdep_service.h
parent9f952489fd05b376f4f1e2518dac20b996f8f096 (diff)
staging: rtl8712: remove wrapper function _set_workitem()
The inline function _set_workitem() simply wraps schedule_work(). Removed. Signed-off-by: James A Shackleford <shack@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/osdep_service.h')
-rw-r--r--drivers/staging/rtl8712/osdep_service.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h
index 2cf9a0200141..43795e77940e 100644
--- a/drivers/staging/rtl8712/osdep_service.h
+++ b/drivers/staging/rtl8712/osdep_service.h
@@ -81,11 +81,6 @@ static inline void _cancel_timer(struct timer_list *ptimer, u8 *bcancelled)
*bcancelled = true; /*true ==1; false==0*/
}
-static inline void _set_workitem(_workitem *pwork)
-{
- schedule_work(pwork);
-}
-
#ifndef BIT
#define BIT(x) (1 << (x))
#endif