commit | 028e84a1de7cba6a3e4cf1a22094b76a4b92cefb | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Sat Sep 03 01:01:06 2016 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Sep 05 16:40:52 2016 +0530 |
tree | 20098fdc562cec68d1af118e84e76ff7d0837c6d | |
parent | 2d9e31b9412cfcb432c1815fef0f72bc0a45542b [diff] |
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>