Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc26358f authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

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: default avatarMalcolm Priestley <tvboxspy@gmail.com>
CC: stable@vger.kernel.org # v4.2+
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 33bac912
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1137,7 +1137,6 @@ static irqreturn_t vnt_interrupt(int irq, void *arg)
{
	struct vnt_private *priv = arg;

	if (priv->vif)
	schedule_work(&priv->interrupt_work);

	MACvIntDisable(priv->PortOffset);