rtlwifi: Remove redundant code from PCI interrupt
The interrupt routine for PCI devices has a special exit that executes the same instructions as does the normal exit. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
abfabc9b48
commit
0dcc3c8429
@@ -889,9 +889,6 @@ static irqreturn_t _rtl_pci_interrupt(int irq, void *dev_id)
|
|||||||
if (rtlpriv->rtlhal.earlymode_enable)
|
if (rtlpriv->rtlhal.earlymode_enable)
|
||||||
tasklet_schedule(&rtlpriv->works.irq_tasklet);
|
tasklet_schedule(&rtlpriv->works.irq_tasklet);
|
||||||
|
|
||||||
spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags);
|
|
||||||
return IRQ_HANDLED;
|
|
||||||
|
|
||||||
done:
|
done:
|
||||||
spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags);
|
spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags);
|
||||||
return IRQ_HANDLED;
|
return IRQ_HANDLED;
|
||||||
|
Reference in New Issue
Block a user