]> git.karo-electronics.de Git - karo-tx-linux.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)
commit706ff628f0669f28e370d2ad30672e5032dc64b2
treedcea40f3a3b086e03c7c64680873f0b9ef84bc16
parentf8964968ab841cb28b0999f346ee3c2491076257
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