Skip to content

Commit cc26358

Browse files
Malcolm Priestleygregkh
authored andcommitted
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>
1 parent 33bac91 commit cc26358

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/staging/vt6655/device_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,8 +1137,7 @@ static irqreturn_t vnt_interrupt(int irq, void *arg)
11371137
{
11381138
struct vnt_private *priv = arg;
11391139

1140-
if (priv->vif)
1141-
schedule_work(&priv->interrupt_work);
1140+
schedule_work(&priv->interrupt_work);
11421141

11431142
MACvIntDisable(priv->PortOffset);
11441143

0 commit comments

Comments
 (0)