From cbe4da533bb1e755151eabf49baef3f2b536d49f Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Thu, 27 Feb 2014 23:06:12 +0000 Subject: [PATCH] staging: vt6656: Remove unused variable bEventAvailable. Flips from true to false but does nothing. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/device.h | 1 - drivers/staging/vt6656/main_usb.c | 1 - drivers/staging/vt6656/usbpipe.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 72bcafb9de47..1124aa458125 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -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; diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 77830509c52e..e1d90c590948 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -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; diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index 0a3aeec7965d..5ce583e814c1 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -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); } -- 2.30.2