dmaengine: ipu: remove bogus NO_IRQ reference
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Sep 2016 23:22:02 +0000 (01:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2016 10:14:00 +0000 (04:14 -0600)
commit90bc49cd66f5cf28f3b1d5bf4621e5569c1b4901
treed2d3c2348dd2d1be99613b3aa2c6e5a6c5dd40d3
parent936ea759b70591231f47b10fd8fde20d8d210c2b
dmaengine: ipu: remove bogus NO_IRQ reference

commit 86c7e6836479c4045a9a81ed5ea76c51d719f9c1 upstream.

A workaround for a warning introduced a use of the NO_IRQ
macro that should have been gone for a long time.

It is clear from the code that the value cannot actually
be used, but apparently there was a configuration at
some point that caused a warning, so instead of just
reverting that patch, this rearranges the code in a way that
the warning cannot reappear.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 6ef41cf6f721 ("dmaengine :ipu: change ipu_irq_handler() to remove compile warning")
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/ipu/ipu_irq.c