diff options
author | Lyude Paul <[email protected]> | 2019-09-03 16:45:53 -0400 |
---|---|---|
committer | Lyude Paul <[email protected]> | 2019-09-03 19:37:00 -0400 |
commit | 37dfdc55ffeb08b20b623eba04a3e3eb3a261962 (patch) | |
tree | e282586c39faa0ebf7f1701fb09f364fae92886a /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 8b1e589d138c8ad82a3424a9f3df8a74a4a2837a (diff) |
drm/dp_mst: Cleanup drm_dp_send_link_address() a bit
Declare local pointer to the drm_dp_link_address_ack_reply struct
instead of constantly dereferencing it through the union in
txmsg->reply. Then, invert the order of conditionals so we don't have to
do the bulk of the work inside them, and can wrap lines even less. Then
finally, rearrange variable declarations a bit.
Cc: Juston Li <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Lyude Paul <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions