]> git.baikalelectronics.ru Git - kernel.git/commit
dw_dmac: remove redundant check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Jan 2013 08:17:12 +0000 (10:17 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 9 Jan 2013 14:30:59 +0000 (06:30 -0800)
commit9173e6f352b9c0886f5ed340b01cd720e4e204ee
treed61a15466afc06cc098908de1486ebae77e6d3e3
parent5f1be0eb651b2159e145d1539f1733bfb6148b5d
dw_dmac: remove redundant check

There is no need to check the callback_required parameter, due to we check the
callback pointer to be a non-NULL.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c