diff options
author | Alex Elder <elder@linaro.org> | 2018-04-11 01:25:42 +0300 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-05-25 23:53:56 +0300 |
commit | 11d2e7edac6ad221eaf14fdc9ea2f0ddf950a839 (patch) | |
tree | 39c4893221d4ebaac15df69342bc88c363ab31da /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8fa1a21409da6abfe890f66532f9fcd8d2c25a3d (diff) | |
download | linux-11d2e7edac6ad221eaf14fdc9ea2f0ddf950a839.tar.xz |
soc: qcom: smem: check sooner in qcom_smem_set_global_partition()
There's no sense in scanning the partition table again if we know
the global partition has already been discovered. Check for a
non-null global_partition pointer in qcom_smem_set_global_partition()
immediately.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions