]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: vt6656: Remove unused tasklets tasklet_struct CmdWorkItem and EventWorkItem...
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 28 Feb 2014 23:58:39 +0000 (23:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 00:48:37 +0000 (16:48 -0800)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/main_usb.c

index a9784ff39cd93fee8ea662d8a874d4f798b198c3..e2abe3ddd2448b896817b3d205dbf48b14866157 100644 (file)
@@ -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;
 
index 0475a2056fe6b26157fb5f6549418d829232e3bd..7dd885fe2010c3e1e1909a7b43ec13e5be53acf2 100644 (file)
@@ -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;