diff options
author | Malcolm Priestley | 2014-02-17 22:24:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-02-18 20:01:01 +0100 |
commit | 749627f2d85fec04c358496c5d5cb04cd73ace5a (patch) | |
tree | e7c397c05c168085fd1e9df8589e933a1947e935 /drivers/staging/vt6656/int.c | |
parent | staging: vt6656: s_nsInterruptUsbIoCompleteRead remove usb_fill_bulk_urb (diff) | |
download | kernel-qcow2-linux-749627f2d85fec04c358496c5d5cb04cd73ace5a.tar.gz kernel-qcow2-linux-749627f2d85fec04c358496c5d5cb04cd73ace5a.tar.xz kernel-qcow2-linux-749627f2d85fec04c358496c5d5cb04cd73ace5a.zip |
staging: vt6656: Remove variable fKillEventPollingThread
We already kill the urb and since patch
s_nsInterruptUsbIoCompleteRead add urb status returns.
have error handling
There is no need for this variable.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/int.c')
-rw-r--r-- | drivers/staging/vt6656/int.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/staging/vt6656/int.c b/drivers/staging/vt6656/int.c index ec135b466ddd..34c45280a9c1 100644 --- a/drivers/staging/vt6656/int.c +++ b/drivers/staging/vt6656/int.c @@ -70,8 +70,9 @@ void INTvWorkItem(struct vnt_private *pDevice) DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Interrupt Polling Thread\n"); spin_lock_irq(&pDevice->lock); - if (pDevice->fKillEventPollingThread != true) - ntStatus = PIPEnsInterruptRead(pDevice); + + ntStatus = PIPEnsInterruptRead(pDevice); + spin_unlock_irq(&pDevice->lock); } |