aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Finger2011-11-17 12:14:45 -0600
committerJohn W. Linville2011-11-21 16:20:46 -0500
commit0dcc3c842930a36d344d240878ee24910c838665 (patch)
treeb525a1ae11782b503421a4927a50a4d504094fdc
parentabfabc9b48f6943dbb707fcfc2ef2a04c329e3e8 (diff)
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>
-rw-r--r--drivers/net/wireless/rtlwifi/pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c
index 177a8e669241..a197dce732b4 100644
--- a/drivers/net/wireless/rtlwifi/pci.c
+++ b/drivers/net/wireless/rtlwifi/pci.c
@@ -889,9 +889,6 @@ static irqreturn_t _rtl_pci_interrupt(int irq, void *dev_id)
if (rtlpriv->rtlhal.earlymode_enable)
tasklet_schedule(&rtlpriv->works.irq_tasklet);
- spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags);
- return IRQ_HANDLED;
-
done:
spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags);
return IRQ_HANDLED;