net: korina: remove deprecated IRQF_DISABLED
Subsystems (2)
PATCH 1/1 net: korina: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from drivers/net/ethernet/korina.c
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by Michael Opdenacker <[email protected]>
--- drivers/net/ethernet/korina.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/ethernet/korina.c +4 -4
@@ -996,14 +996,14 @@ static int korina_open(struct net_device *dev)* that handles the Done Finished * Ovr and Und Events */ ret =request_irq (lp->rx_irq, korina_rx_dma_interrupt, -IRQF_DISABLED ,"Korina ethernet Rx" , dev); +0 ,"Korina ethernet Rx" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get Rx DMA IRQ %d\n" , dev->name, lp->rx_irq); goto err_release; } ret =request_irq (lp->tx_irq, korina_tx_dma_interrupt, -IRQF_DISABLED ,"Korina ethernet Tx" , dev); +0 ,"Korina ethernet Tx" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get Tx DMA IRQ %d\n" , dev->name, lp->tx_irq);
@@ -1012,7 +1012,7 @@ static int korina_open(struct net_device *dev)/* Install handler for overrun error. */ ret =request_irq (lp->ovr_irq, korina_ovr_interrupt, -IRQF_DISABLED ,"Ethernet Overflow" , dev); +0 ,"Ethernet Overflow" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get OVR IRQ %d\n" , dev->name, lp->ovr_irq);
@@ -1021,7 +1021,7 @@ static int korina_open(struct net_device *dev)/* Install handler for underflow error. */ ret =request_irq (lp->und_irq, korina_und_interrupt, -IRQF_DISABLED ,"Ethernet Underflow" , dev); +0 ,"Ethernet Underflow" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get UND IRQ %d\n" , dev->name, lp->und_irq);
Signature · 1 line
1.8.1.2
Quoted 7 lines · Michael Opdenacker
This patch proposes to remove the
IRQF_DISABLEDflag fromdrivers/net/ethernet/korina.cIt's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by Michael Opdenacker <[email protected]>
Reviewed-by Jingoo Han <[email protected]>
Best regards,
Jingoo Han
Quoted 4 lines
--- drivers/net/ethernet/korina.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
From: Michael Opdenacker <[email protected]>
Date: Sat, 7 Sep 2013 07:20:57 +0200
Quoted 6 lines
This patch proposes to remove the
IRQF_DISABLEDflag fromdrivers/net/ethernet/korina.cIt's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by Michael Opdenacker <[email protected]>
Applied.