From: Larry Finger Date: Thu, 14 Jul 2011 22:14:28 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with IRQF_SHARED X-Git-Tag: v3.2-rc1~169^2^2~864^2~132^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a616feed4ec15a937f2af90ba07527158eee9191;p=profile%2Fivi%2Fkernel-x86-ivi.git staging: rtl8192e: Remove dead code associated with IRQF_SHARED This symbol is defined in the kernel. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c index 59bf9b1..ae983a2 100644 --- a/drivers/staging/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl_core.c @@ -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;