Commit dddb29e4 authored by Michael Opdenacker's avatar Michael Opdenacker Committed by David S. Miller

net: lantiq_etop: remove deprecated IRQF_DISABLED

This patch proposes to remove the IRQF_DISABLED flag from
drivers/net/ethernet/lantiq_etop.c

It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: default avatarMichael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c023e28b
...@@ -282,8 +282,7 @@ ltq_etop_hw_init(struct net_device *dev) ...@@ -282,8 +282,7 @@ ltq_etop_hw_init(struct net_device *dev)
if (IS_TX(i)) { if (IS_TX(i)) {
ltq_dma_alloc_tx(&ch->dma); ltq_dma_alloc_tx(&ch->dma);
request_irq(irq, ltq_etop_dma_irq, IRQF_DISABLED, request_irq(irq, ltq_etop_dma_irq, 0, "etop_tx", priv);
"etop_tx", priv);
} else if (IS_RX(i)) { } else if (IS_RX(i)) {
ltq_dma_alloc_rx(&ch->dma); ltq_dma_alloc_rx(&ch->dma);
for (ch->dma.desc = 0; ch->dma.desc < LTQ_DESC_NUM; for (ch->dma.desc = 0; ch->dma.desc < LTQ_DESC_NUM;
...@@ -291,8 +290,7 @@ ltq_etop_hw_init(struct net_device *dev) ...@@ -291,8 +290,7 @@ ltq_etop_hw_init(struct net_device *dev)
if (ltq_etop_alloc_skb(ch)) if (ltq_etop_alloc_skb(ch))
return -ENOMEM; return -ENOMEM;
ch->dma.desc = 0; ch->dma.desc = 0;
request_irq(irq, ltq_etop_dma_irq, IRQF_DISABLED, request_irq(irq, ltq_etop_dma_irq, 0, "etop_rx", priv);
"etop_rx", priv);
} }
ch->dma.irq = irq; ch->dma.irq = irq;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment