dmatest: move src_off, dst_off, len inside loop
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 22 Oct 2014 13:16:43 +0000 (16:16 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 5 Feb 2015 02:17:21 +0000 (18:17 -0800)
commitede23a586886bbd0d5246b2fa89cf78b81265aa3
tree952821c2db79b8565d9952dc138acc632b1b3a1e
parenta835bb8550f73c5e9aaf71ae829da86d34dcbe2b
dmatest: move src_off, dst_off, len inside loop

The scope of those varsiables is in while-loop. This patch moves them there and
removes duplicate code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmatest.c