Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e88399bc authored by Helmut Schaa's avatar Helmut Schaa Committed by John W. Linville
Browse files

rt2x00: Remove interrupt thread registration



No driver uses interrupt threads anymore. Remove the remaining interrupt
thread artifacts.

Signed-off-by: default avatarHelmut Schaa <helmut.schaa@googlemail.com>
Acked-by: default avatarGertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent bcf3cfd0
Loading
Loading
Loading
Loading
+0 −11
Original line number Original line Diff line number Diff line
@@ -511,11 +511,6 @@ struct rt2x00lib_ops {
	 */
	 */
	irq_handler_t irq_handler;
	irq_handler_t irq_handler;


	/*
	 * Threaded Interrupt handlers.
	 */
	irq_handler_t irq_handler_thread;

	/*
	/*
	 * TX status tasklet handler.
	 * TX status tasklet handler.
	 */
	 */
@@ -894,12 +889,6 @@ struct rt2x00_dev {
	 */
	 */
	const struct firmware *fw;
	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.
	 * FIFO for storing tx status reports between isr and tasklet.
	 */
	 */
+3 −4
Original line number Original line Diff line number Diff line
@@ -160,9 +160,8 @@ int rt2x00pci_initialize(struct rt2x00_dev *rt2x00dev)
	/*
	/*
	 * Register interrupt handler.
	 * Register interrupt handler.
	 */
	 */
	status = request_threaded_irq(rt2x00dev->irq,
	status = request_irq(rt2x00dev->irq,
			     rt2x00dev->ops->lib->irq_handler,
			     rt2x00dev->ops->lib->irq_handler,
				      rt2x00dev->ops->lib->irq_handler_thread,
			     IRQF_SHARED, rt2x00dev->name, rt2x00dev);
			     IRQF_SHARED, rt2x00dev->name, rt2x00dev);
	if (status) {
	if (status) {
		ERROR(rt2x00dev, "IRQ %d allocation failed (error %d).\n",
		ERROR(rt2x00dev, "IRQ %d allocation failed (error %d).\n",