]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: pl330: Remove useless xfer_cb indirection
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 6 Jul 2014 18:32:25 +0000 (20:32 +0200)
committerVinod Koul <vinod.koul@intel.com>
Tue, 15 Jul 2014 16:31:03 +0000 (22:01 +0530)
commit6079d38ca21e80c13af2d8f8a7b062a0e28615c9
tree35e6e1c7550a2c1055d212a0cfaac55526104810
parentbe025329fd4223f3442fffc35f8255bd64d0d526
dmaengine: pl330: Remove useless xfer_cb indirection

The xfer_cb callback of the pl330_req struct is always set to the same function.
This adds an unnecessary step of indirection. Instead just call the callback
function directly.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c