dmaengine: k3dma: remove useless ON_WARN_ONCE()
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 1 Aug 2017 20:09:27 +0000 (22:09 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 25 Aug 2017 06:45:40 +0000 (12:15 +0530)
commitaa1841b9836f01e3b629368f170f51206a600654
tree1c9b1dc44dc5fee668f0c2990f518df4e22c9207
parent132b473cd594183dbd06a00bcee079477f6a7c9c
dmaengine: k3dma: remove useless ON_WARN_ONCE()

Commit 36387a2b1f62b5c087c5fe6f0f7b23b94f722ad7 ("k3dma: Fix
memory handling in preparation for cyclic mode") adds few
calls to ON_WARN_ONCE() to track the use of ds_run/ds_done.

After the two fixes:
- dmaengine: k3dma: fix non-cyclic mode
- dmaengine: k3dma: fix re-free of the same descriptor
the behaviour of ds_run/ds_done is properly fixed.
The remaining ON_WARN_ONCE() are never triggered and can be
removed.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/k3dma.c