genirq: Get rid of unneeded force parameter in irq_finalize_oneshot()
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 21 Mar 2012 16:22:35 +0000 (17:22 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 29 Mar 2012 09:31:53 +0000 (11:31 +0200)
commitf3f79e38d51f8a419f4c484a86ece4baea35b993
treeea1bd43fbd35efcf914b1717f7eca605478670a9
parent69592db298e400a7c175c4dfbe7a086c783f349d
genirq: Get rid of unneeded force parameter in irq_finalize_oneshot()

The only place irq_finalize_oneshot() is called with force parameter set
is the threaded handler error exit path. But IRQTF_RUNTHREAD is dropped
at this point and irq_wake_thread() is not going to set it again,
since PF_EXITING is set for this thread already. So irq_finalize_oneshot()
will drop the threads bit in threads_oneshot anyway and hence the force
parameter is superfluous.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Link: http://lkml.kernel.org/r/20120321162234.GP24806@dhcp-26-207.brq.redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c