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

net: pasemi: remove deprecated IRQF_DISABLED

This patch proposes to remove the IRQF_DISABLED flag from
drivers/net/ethernet/pasemi/pasemi_mac.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 d8865d5b
...@@ -1219,7 +1219,7 @@ static int pasemi_mac_open(struct net_device *dev) ...@@ -1219,7 +1219,7 @@ static int pasemi_mac_open(struct net_device *dev)
snprintf(mac->tx_irq_name, sizeof(mac->tx_irq_name), "%s tx", snprintf(mac->tx_irq_name, sizeof(mac->tx_irq_name), "%s tx",
dev->name); dev->name);
ret = request_irq(mac->tx->chan.irq, pasemi_mac_tx_intr, IRQF_DISABLED, ret = request_irq(mac->tx->chan.irq, pasemi_mac_tx_intr, 0,
mac->tx_irq_name, mac->tx); mac->tx_irq_name, mac->tx);
if (ret) { if (ret) {
dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n", dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n",
...@@ -1230,7 +1230,7 @@ static int pasemi_mac_open(struct net_device *dev) ...@@ -1230,7 +1230,7 @@ static int pasemi_mac_open(struct net_device *dev)
snprintf(mac->rx_irq_name, sizeof(mac->rx_irq_name), "%s rx", snprintf(mac->rx_irq_name, sizeof(mac->rx_irq_name), "%s rx",
dev->name); dev->name);
ret = request_irq(mac->rx->chan.irq, pasemi_mac_rx_intr, IRQF_DISABLED, ret = request_irq(mac->rx->chan.irq, pasemi_mac_rx_intr, 0,
mac->rx_irq_name, mac->rx); mac->rx_irq_name, mac->rx);
if (ret) { if (ret) {
dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n", dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n",
......
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