Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21e93c1e authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Vinod Koul
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent cbd65312
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -347,7 +347,7 @@ dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc,

	spin_unlock_irqrestore(&dwc->lock, flags);

	if (callback_required && callback)
	if (callback)
		callback(param);
}