mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 17:40:53 +07: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)) {
|
||||
ltq_dma_alloc_tx(&ch->dma);
|
||||
request_irq(irq, ltq_etop_dma_irq, IRQF_DISABLED,
|
||||
"etop_tx", priv);
|
||||
request_irq(irq, ltq_etop_dma_irq, 0, "etop_tx", priv);
|
||||
} else if (IS_RX(i)) {
|
||||
ltq_dma_alloc_rx(&ch->dma);
|
||||
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))
|
||||
return -ENOMEM;
|
||||
ch->dma.desc = 0;
|
||||
request_irq(irq, ltq_etop_dma_irq, IRQF_DISABLED,
|
||||
"etop_rx", priv);
|
||||
request_irq(irq, ltq_etop_dma_irq, 0, "etop_rx", priv);
|
||||
}
|
||||
ch->dma.irq = irq;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user