]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: omap-dma: Clean up the prep_slave_sg sg list walk code
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 11 Nov 2015 10:37:56 +0000 (12:37 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sat, 5 Dec 2015 08:06:38 +0000 (13:36 +0530)
commitc1c374da7434f9c9c40bc8de64ecc9504bf45c7c
tree8a67cf10b39e50a3ece8e0b0d5a15c3e0bb0249f
parent98824c4d59742f1a3a8c68b993b77acb8d9725da
dmaengine: omap-dma: Clean up the prep_slave_sg sg list walk code

The for_each_sg() macro's last parameter is inteded to be used as counter.
We can use 'i' instead of 'j' within the loop for indexes.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c