aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKamlesh Gurudasani <[email protected]>2019-05-08 01:22:29 +0530
committerUlf Hansson <[email protected]>2019-06-10 17:09:56 +0200
commitfdc4e755f6c516e526dd9396b6eb05712c44fb65 (patch)
treeb5f7cf11387f3ced0278e73ae4a3a98a5da7dd59 /tools/perf/scripts/python
parentd1fdb6d8f6a4109a4263176c84b899076a5f8008 (diff)
mmc: android-goldfish: Drop pointer to mmc_host from goldfish_mmc_host
The driver for android-goldfish uses a pointer to get from the private goldfish_mmc_host structure to the generic mmc_host structure. However the latter is always immediately preceding the former in memory, so compute its address with a subtraction (which is cheaper than a dereference) and drop the superfluous pointer. No functional change intended. Signed-off-by: Kamlesh Gurudasani <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions