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 72bcafb..1124aa4 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 7783050..e1d90c5 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 0a3aeec..5ce583e 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);
        }