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>
Fri, 29 Mar 2019 16:25:45 +0000 (17:25 +0100)
commitcc26358f89c3e493b54766b1ca56cfc6b14db78a
treecdd8824605b4e7b6f735ab2ccbd2b57899bc262d
parent33bac912840fe64dbc15556302537dc6a17cac63
staging: vt6655: Remove vif check from vnt_interrupt

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