forked from luck/tmp_suning_uos_patched
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 <michael.opdenacker@free-electrons.com> Reviewed-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
de9e8f3f40
commit
2414fe16dd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user