dmaengine: mxs: remove NO_IRQ check
authorArnd Bergmann <arnd@arndb.de>
Fri, 2 Sep 2016 23:01:06 +0000 (01:01 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 5 Sep 2016 11:10:52 +0000 (16:40 +0530)
commit028e84a1de7cba6a3e4cf1a22094b76a4b92cefb
tree20098fdc562cec68d1af118e84e76ff7d0837c6d
parent2d9e31b9412cfcb432c1815fef0f72bc0a45542b
dmaengine: mxs: remove NO_IRQ check

The mxs_chan->chan_irq variable is guaranteed to never be NO_IRQ,
as it gets assigned the result of platform_get_irq() that returns
either a valid positive interrupt number, or a negative failure
code that leads to the channel not being used.

This removes the redundant check, eliminating one more instance
of NO_IRQ.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mxs-dma.c
This page took 0.025346 seconds and 5 git commands to generate.