]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
rt2x00: Remove interrupt thread registration
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sun, 30 Jan 2011 12:20:29 +0000 (13:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Jan 2011 20:06:23 +0000 (15:06 -0500)
No driver uses interrupt threads anymore. Remove the remaining interrupt
thread artifacts.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00pci.c

index 696513113d9f483f5200d4399d6568651b0973d1..7661e4f60ddcfd83fed380e97c7ae96053d3f776 100644 (file)
@@ -511,11 +511,6 @@ struct rt2x00lib_ops {
         */
        irq_handler_t irq_handler;
 
-       /*
-        * Threaded Interrupt handlers.
-        */
-       irq_handler_t irq_handler_thread;
-
        /*
         * TX status tasklet handler.
         */
@@ -894,12 +889,6 @@ struct rt2x00_dev {
         */
        const struct firmware *fw;
 
-       /*
-        * Interrupt values, stored between interrupt service routine
-        * and interrupt thread routine.
-        */
-       u32 irqvalue[2];
-
        /*
         * FIFO for storing tx status reports between isr and tasklet.
         */
index ace0b668c04ea01f42a5fdaa140c204fd5339667..4dd82b0b05201bf63888cbe4412f7fdcb3bbfc9b 100644 (file)
@@ -160,10 +160,9 @@ int rt2x00pci_initialize(struct rt2x00_dev *rt2x00dev)
        /*
         * Register interrupt handler.
         */
-       status = request_threaded_irq(rt2x00dev->irq,
-                                     rt2x00dev->ops->lib->irq_handler,
-                                     rt2x00dev->ops->lib->irq_handler_thread,
-                                     IRQF_SHARED, rt2x00dev->name, rt2x00dev);
+       status = request_irq(rt2x00dev->irq,
+                            rt2x00dev->ops->lib->irq_handler,
+                            IRQF_SHARED, rt2x00dev->name, rt2x00dev);
        if (status) {
                ERROR(rt2x00dev, "IRQ %d allocation failed (error %d).\n",
                      rt2x00dev->irq, status);