提交 e88399bc 编写于 作者: H Helmut Schaa 提交者: John W. Linville

rt2x00: Remove interrupt thread registration

No driver uses interrupt threads anymore. Remove the remaining interrupt
thread artifacts.
Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com>
Acked-by: NGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 bcf3cfd0
......@@ -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.
*/
......
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册