diff options
author | Gnanachandran Dhanapal <gdhanapa@visteon.com> | 2015-06-16 07:25:48 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-18 04:38:23 (GMT) |
commit | 2e59e40d5d63ff805c9a5299be8b8e5e299dc6b6 (patch) | |
tree | d41cd68b44a67f6b7ca2b1b23eec730b9acc66fa /drivers/staging/rtl8192e/rtllib_softmac.c | |
parent | 47eae6ddd9cf12781cefe6ec458d791174cb59b9 (diff) | |
download | linux-2e59e40d5d63ff805c9a5299be8b8e5e299dc6b6.tar.xz |
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_softmac.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index 444fac7..d320c31 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -3019,11 +3019,11 @@ void rtllib_softmac_init(struct rtllib_device *ieee) ieee->tx_pending.txb = NULL; - _setup_timer(&ieee->associate_timer, + setup_timer(&ieee->associate_timer, rtllib_associate_abort_cb, (unsigned long) ieee); - _setup_timer(&ieee->beacon_timer, + setup_timer(&ieee->beacon_timer, rtllib_send_beacon_cb, (unsigned long) ieee); |