提交 a616feed 编写于 作者: L Larry Finger

staging: rtl8192e: Remove dead code associated with IRQF_SHARED

This symbol is defined in the kernel.
Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
上级 1bd7bcfc
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册