diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-02-17 21:24:33 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:01:01 -0800 |
commit | 749627f2d85fec04c358496c5d5cb04cd73ace5a (patch) | |
tree | e7c397c05c168085fd1e9df8589e933a1947e935 /drivers/staging/vt6656/int.c | |
parent | def84bd9a11954d32d380c461eb884d1f0b2a8b7 (diff) |
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); } |