]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/pcmcia/pcmcia_resource.c
pcmcia: revert "irq probe can be done without risking an IRQ storm"
[net-next-2.6.git] / drivers / pcmcia / pcmcia_resource.c
index b2df04199a2197b353ab074cd3a682f65cb7dfa7..ef782c09f029fbcc805730823d4a7ba03ef0b68d 100644 (file)
@@ -752,14 +752,6 @@ int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req)
 
 #ifdef CONFIG_PCMCIA_PROBE
 
-#ifdef IRQ_NOAUTOEN
-       /* if the underlying IRQ infrastructure allows for it, only allocate
-        * the IRQ, but do not enable it
-        */
-       if (!(req->Handler))
-               type |= IRQ_NOAUTOEN;
-#endif /* IRQ_NOAUTOEN */
-
        if (s->irq.AssignedIRQ != 0) {
                /* If the interrupt is already assigned, it must be the same */
                irq = s->irq.AssignedIRQ;