staging: rtl8192e: Remove dead code associated with IRQF_SHARED
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 14 Jul 2011 22:14:28 +0000 (17:14 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 02:17:17 +0000 (21:17 -0500)
This symbol is defined in the kernel.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl_core.c

index 59bf9b15043d35357e5a1526fbf656776975a905..ae983a2237bbb59151a1c0dcfea341ccd83e1050 100644 (file)
@@ -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;