staging: vt6655: Remove vif check from vnt_interrupt
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 27 Mar 2019 18:45:26 +0000 (18:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2019 04:25:18 +0000 (06:25 +0200)
commit03f4d949bbd7cd5b979a3c756bdf575eb4cc3b96
tree4c32ce63992abf32994a86f04bf8d14acc7e8faf
parent7787d644703fea7f87a0a30bdca3e477bf9b286c
staging: vt6655: Remove vif check from vnt_interrupt

commit cc26358f89c3e493b54766b1ca56cfc6b14db78a upstream.

A check for vif is made in vnt_interrupt_work.

There is a small chance of leaving interrupt disabled while vif
is NULL and the work hasn't been scheduled.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
CC: stable@vger.kernel.org # v4.2+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c