Skip to content

Commit

Permalink
staging: rtl8192e: Remove dead code associated with IRQF_SHARED
Browse files Browse the repository at this point in the history
This symbol is defined in the kernel.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 1bd7bcf commit a616fee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/rtl8192e/rtl_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1400,11 +1400,7 @@ short rtl8192_init(struct net_device *dev)
(unsigned long)dev);

rtl8192_irq_disable(dev);
#if defined(IRQF_SHARED)
if (request_irq(dev->irq, (void*)rtl8192_interrupt_rsl, IRQF_SHARED, dev->name, dev))
#else
if (request_irq(dev->irq, (void *)rtl8192_interrupt_rsl, SA_SHIRQ, dev->name, dev))
#endif
{
printk("Error allocating IRQ %d",dev->irq);
return -1;
Expand Down

0 comments on commit a616fee

Please sign in to comment.