aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2016-01-26 13:40:11 +0000
committerUlf Hansson <[email protected]>2016-02-29 11:03:19 +0100
commitf55c98f7466c2e52125d6ffd69295c0158ac609a (patch)
tree825201d7a1d8237ed42d3830a713249946da7d3e /tools/perf/util/scripting-engines/trace-event-python.c
parent47fa961340d2181ebf1165b7651dcbb1b1029163 (diff)
mmc: sdhci: factor out common DMA cleanup in sdhci_finish_data()
sdhci_finish_data() has two paths which result in identical DMA cleanup. One is when SDHCI_USE_ADMA is clear, and the other is just before when SDHCI_USE_ADMA is set, and is performed within sdhci_adma_table_post(). Simplify the code by removing the 'else' and eliminating the duplicate inside sdhci_adma_table_post(). Signed-off-by: Russell King <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Tested-by: Gregory CLEMENT <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions