aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorHe Ying <[email protected]>2021-10-21 22:22:43 -0400
committerVille Syrjälä <[email protected]>2021-10-25 17:31:22 +0300
commitc4ae82a0e9222d275e3e4dd91c1cc3931ac0eca1 (patch)
tree2d8431c43b9b7250ea84c2ed9e371ed15e87a71b /scripts/objdiff
parent877d074939a5f82b099da2db3bcccc6c418b9c39 (diff)
drm: Small optimization to intel_dp_mst_atomic_master_trans_check
If we want to return from for_each_intel_connector_iter(), one way is calling drm_connector_list_iter_end() before returning to avoid memleak. The other way is just breaking from the bracket and then returning after the outside drm_connector_list_iter_end(). Obviously, the second way makes code smaller and more clear. Apply it to the function intel_dp_mst_atomic_master_trans_check(). Signed-off-by: He Ying <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions