]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: vt6656: Remove unused variable bEventAvailable.
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 27 Feb 2014 23:06:12 +0000 (23:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2014 01:09:18 +0000 (17:09 -0800)
Flips from true to false but does nothing.

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
drivers/staging/vt6656/usbpipe.c

index 72bcafb9de47dfad64e5dcdca6b70520ff131407..1124aa458125c16a14dbfe6e04e9ac4213e6cc28 100644 (file)
@@ -417,7 +417,6 @@ struct vnt_private {
 
        /* Variables to track resources for the Interrupt In Pipe */
        struct vnt_interrupt_buffer int_buf;
-       int bEventAvailable;
 
        /* default config from file by user setting */
        DEFAULT_CONFIG config_file;
index 77830509c52e678dc4bb204fda6b1bdc717a91ac..e1d90c590948b9beeed1586382a6312f41fd6756 100644 (file)
@@ -998,7 +998,6 @@ static int  device_open(struct net_device *dev)
     pDevice->eEncryptionStatus = Ndis802_11EncryptionDisabled;
 
     pDevice->bIsRxWorkItemQueued = true;
-    pDevice->bEventAvailable = false;
 
    pDevice->bWPADEVUp = false;
      pDevice->bwextstep0 = false;
index 0a3aeec7965d84999b8940a1c2d87660e403d0b3..5ce583e814c139eb4a5e825cb12d6b032bf3b753 100644 (file)
@@ -376,7 +376,6 @@ static void s_nsInterruptUsbIoCompleteRead(struct urb *urb)
                DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
                        "IntUSBIoCompleteControl STATUS = %d\n", status);
        } else {
-               priv->bEventAvailable = true;
                INTnsProcessData(priv);
        }