summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/wmgr.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2013-09-27 16:51:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-30 18:33:13 -0700
commitbd9a6dbada2263ffb26eef7a67283553092d2dee (patch)
treee9ca6a2a52ce27d07e5a1240df4d2c7c5dafb43c /drivers/staging/vt6656/wmgr.c
parent94488a7ebfbc95c4b8fbfe39644e97b926a550a7 (diff)
downloadlinux-bd9a6dbada2263ffb26eef7a67283553092d2dee.tar.gz
linux-bd9a6dbada2263ffb26eef7a67283553092d2dee.tar.bz2
linux-bd9a6dbada2263ffb26eef7a67283553092d2dee.zip
staging: vt6656: covert BSSvSecondCallBack to delayed_work.
timer to delay workqueue. sTimerSecondCallback -> second_callback_work The delayed work queue is declared in device.h This timer is very heavy on the system. Improves over performance of driver and reduce the atomic area of driver. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/wmgr.c')
-rw-r--r--drivers/staging/vt6656/wmgr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/vt6656/wmgr.c b/drivers/staging/vt6656/wmgr.c
index 03629c562b19..5a6a5bad0c42 100644
--- a/drivers/staging/vt6656/wmgr.c
+++ b/drivers/staging/vt6656/wmgr.c
@@ -213,11 +213,6 @@ void vMgrObjectInit(struct vnt_private *pDevice)
pMgmt->wIBSSBeaconPeriod = DEFAULT_IBSS_BI;
BSSvClearBSSList((void *) pDevice, false);
- init_timer(&pMgmt->sTimerSecondCallback);
- pMgmt->sTimerSecondCallback.data = (unsigned long)pDevice;
- pMgmt->sTimerSecondCallback.function = (TimerFunction)BSSvSecondCallBack;
- pMgmt->sTimerSecondCallback.expires = RUN_AT(HZ);
-
init_timer(&pDevice->sTimerTxData);
pDevice->sTimerTxData.data = (unsigned long)pDevice;
pDevice->sTimerTxData.function = (TimerFunction)BSSvSecondTxData;