Skip to content

Commit

Permalink
rt2x00: Remove interrupt thread registration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Jan 31, 2011
1 parent bcf3cfd commit e88399b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
11 changes: 0 additions & 11 deletions drivers/net/wireless/rt2x00/rt2x00.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*/
Expand Down
7 changes: 3 additions & 4 deletions drivers/net/wireless/rt2x00/rt2x00pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e88399b

Please sign in to comment.