[PATCH] ethernet: amd: remove deprecated IRQF_DISABLED

Subsystems: networking drivers, the rest

STALE4715d

2 messages, 2 authors, 2013-09-13 · open the first message on its own page

[PATCH] ethernet: amd: remove deprecated IRQF_DISABLED

From: Michael Opdenacker <hidden>
Date: 2013-09-12 03:52:55

This patch proposes to remove the IRQF_DISABLED flag from
drivers/net/ethernet/amd/sun3lance.c

It's a NOOP since 2.6.35 and it will be removed one day.

Signed-off-by: Michael Opdenacker <redacted>
---
 drivers/net/ethernet/amd/sun3lance.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/sun3lance.c b/drivers/net/ethernet/amd/sun3lance.c
index d6b2029..3d8c6b2 100644
--- a/drivers/net/ethernet/amd/sun3lance.c
+++ b/drivers/net/ethernet/amd/sun3lance.c
@@ -358,7 +358,7 @@ static int __init lance_probe( struct net_device *dev)
 
 	REGA(CSR0) = CSR0_STOP;
 
-	if (request_irq(LANCE_IRQ, lance_interrupt, IRQF_DISABLED, "SUN3 Lance", dev) < 0) {
+	if (request_irq(LANCE_IRQ, lance_interrupt, 0, "SUN3 Lance", dev) < 0) {
 #ifdef CONFIG_SUN3
 		iounmap((void __iomem *)ioaddr);
 #endif
-- 
1.8.1.2

Re: [PATCH] ethernet: amd: remove deprecated IRQF_DISABLED

From: David Miller <davem@davemloft.net>
Date: 2013-09-13 03:27:42

From: Michael Opdenacker <redacted>
Date: Thu, 12 Sep 2013 05:52:50 +0200
This patch proposes to remove the IRQF_DISABLED flag from
drivers/net/ethernet/amd/sun3lance.c

It's a NOOP since 2.6.35 and it will be removed one day.

Signed-off-by: Michael Opdenacker <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help