summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib_module.c
diff options
context:
space:
mode:
authorGnanachandran Dhanapal <gdhanapa@visteon.com>2015-06-16 07:25:48 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-17 21:38:23 -0700
commit2e59e40d5d63ff805c9a5299be8b8e5e299dc6b6 (patch)
treed41cd68b44a67f6b7ca2b1b23eec730b9acc66fa /drivers/staging/rtl8192e/rtllib_module.c
parent47eae6ddd9cf12781cefe6ec458d791174cb59b9 (diff)
Staging: rtl8192e: Timer setup using macro rather assignment
This patch shall replaces user defined timer setup function with standard timer setup macro. Also removes init_timer, because timer can be initialized in setup_timer macro as well. Signed-off-by: Gnanachandran Dhanapal <gdhanapa@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_module.c')
-rw-r--r--drivers/staging/rtl8192e/rtllib_module.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c
index 578b41bbd98a..224dc99af131 100644
--- a/drivers/staging/rtl8192e/rtllib_module.c
+++ b/drivers/staging/rtl8192e/rtllib_module.c
@@ -57,12 +57,6 @@ u32 rt_global_debug_component = COMP_ERR;
EXPORT_SYMBOL(rt_global_debug_component);
-void _setup_timer(struct timer_list *ptimer, void *fun, unsigned long data)
-{
- ptimer->function = fun;
- ptimer->data = data;
- init_timer(ptimer);
-}
static inline int rtllib_networks_allocate(struct rtllib_device *ieee)
{