diff options
author | Alex Elder <[email protected]> | 2018-04-10 17:25:42 -0500 |
---|---|---|
committer | Andy Gross <[email protected]> | 2018-05-25 15:53:56 -0500 |
commit | 11d2e7edac6ad221eaf14fdc9ea2f0ddf950a839 (patch) | |
tree | 39c4893221d4ebaac15df69342bc88c363ab31da /lib/debugobjects.c | |
parent | 8fa1a21409da6abfe890f66532f9fcd8d2c25a3d (diff) |
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 <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions