diff options
author | Malcolm Priestley | 2014-03-01 00:58:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-03-01 01:48:37 +0100 |
commit | da62fa24ca77497d95bcc00f04c32abfc2430145 (patch) | |
tree | 186f380b256a4cf5d572da42948fa2256f58944f /drivers/staging/vt6656 | |
parent | staging: vt6656: dead code removetypedef struct tagSQuietControl (diff) | |
download | kernel-qcow2-linux-da62fa24ca77497d95bcc00f04c32abfc2430145.tar.gz kernel-qcow2-linux-da62fa24ca77497d95bcc00f04c32abfc2430145.tar.xz kernel-qcow2-linux-da62fa24ca77497d95bcc00f04c32abfc2430145.zip |
staging: vt6656: Remove unused tasklets tasklet_struct CmdWorkItem and EventWorkItem are not used.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656')
-rw-r--r-- | drivers/staging/vt6656/device.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index a9784ff39cd9..e2abe3ddd244 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -355,8 +355,6 @@ struct vnt_private { OPTIONS sOpts; - struct tasklet_struct CmdWorkItem; - struct tasklet_struct EventWorkItem; struct work_struct read_work_item; struct work_struct rx_mng_work_item; diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 0475a2056fe6..7dd885fe2010 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -1005,8 +1005,6 @@ static int device_open(struct net_device *dev) vMgrObjectInit(pDevice); - tasklet_init(&pDevice->EventWorkItem, (void *)INTvWorkItem, (unsigned long)pDevice); - schedule_delayed_work(&pDevice->second_callback_work, HZ); pDevice->int_interval = 100; /* max 100 microframes */ @@ -1108,8 +1106,6 @@ static int device_close(struct net_device *dev) cancel_work_sync(&pDevice->rx_mng_work_item); cancel_work_sync(&pDevice->read_work_item); - tasklet_kill(&pDevice->EventWorkItem); - pDevice->bRoaming = false; pDevice->bIsRoaming = false; pDevice->bEnableRoaming = false; |