]> git.baikalelectronics.ru Git - kernel.git/commit
dma: cppi41: use cppi41_pop_desc() where possible
authorDaniel Mack <zonque@gmail.com>
Tue, 22 Oct 2013 10:14:04 +0000 (12:14 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 12 Nov 2013 08:58:24 +0000 (14:28 +0530)
commitfa6b2b9dae5b1f50afa3cc4533090bfa6293e95e
treedcea40f3a3b086e03c7c64680873f0b9ef84bc16
parent95c546f783c6a6653c66b2777828ac27e6fbd4a0
dma: cppi41: use cppi41_pop_desc() where possible

Use cppi41_pop_desc() when appropriate instead of open-coding the same
functionality again. That makes the code more readable. The function has
to be moved some lines up for this change.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/cppi41.c