]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit21e93c1e7dae0e8b1914a522c331f0f7763fa89d
treed61a15466afc06cc098908de1486ebae77e6d3e3
parentcbd65312ba6b508e994d40729e84a51301870bcc
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