diff options
| author | Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com> | 2019-05-08 01:22:29 +0530 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-06-10 17:09:56 +0200 |
| commit | fdc4e755f6c516e526dd9396b6eb05712c44fb65 (patch) | |
| tree | b5f7cf11387f3ced0278e73ae4a3a98a5da7dd59 /tools/perf/scripts/python/stackcollapse.py | |
| parent | Linux 5.2-rc4 (diff) | |
| download | linux-fdc4e755f6c516e526dd9396b6eb05712c44fb65.tar.gz linux-fdc4e755f6c516e526dd9396b6eb05712c44fb65.zip | |
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 <kamlesh.gurudasani@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
