mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 23:50:25 +00:00
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: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c023e28bf6
commit
dddb29e427
@ -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)
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user