diff options
author | 2016-06-29 17:08:38 +0100 | |
---|---|---|
committer | 2016-06-30 08:53:15 +0530 | |
commit | 004f614eded1b5746ef610bbe17eba11e4fb5733 (patch) | |
tree | d7e9ed63b4ceebc66b5b10e5a70d8f60d5325111 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: tegra-apb: Correct grammar in TX status debug message (diff) | |
download | wireguard-linux-004f614eded1b5746ef610bbe17eba11e4fb5733.tar.xz wireguard-linux-004f614eded1b5746ef610bbe17eba11e4fb5733.zip |
dmaengine: tegra-apb: Remove duplicated residue calculation
The calculation of the DMA residue for the Tegra APB DMA is duplicated
in two places in the tegra_dma_tx_status() function. Remove this
duplicated code by moving calculation to the end of the function and
only calculating if we found a valid descriptor.
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions