Skip to contentSkip to conversation

mg_disk: remove deprecated IRQF_DISABLED

PATCH In review Michael Opdenacker 2 participants 2 messages Oct 12, 2013 – Oct 15, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mg_disk: remove deprecated IRQF_DISABLED

This patch proposes to remove the use of the IRQF_DISABLED flag

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

---
 drivers/block/mg_disk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/mg_disk.c +1 -1
index 77a60be..7bc363f 100644
@@ -936,7 +936,7 @@ static int mg_probe(struct platform_device *plat_dev)
 			goto probe_err_3b;
 		}
 		err = request_irq(host->irq, mg_irq,
-				IRQF_DISABLED | IRQF_TRIGGER_RISING,
+				IRQF_TRIGGER_RISING,
 				MG_DEV_NAME, host);
 		if (err) {
 			printk(KERN_ERR "%s:%d fail (request_irq err=%d)\n",
Signature · 1 line
1.8.1.2
maintainer
#1 lore raw
Quoted 3 lines · Michael Opdenacker

This patch proposes to remove the use of the IRQF_DISABLED flag

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

Thanks, added for 3.13.

Signature · 1 line
Jens Axboe